joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ced0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x14013fc40]
movzx esi, r9b
mov r12d, dword [rsp + 0x90]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ee0]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1a8], 0
jne 0x14000cf2f
cmp qword [rdi + 0x4b50], 0
mov eax, 0x280
je 0x14000cf34
mov eax, 0x250
movss xmm4, dword [rax + rbx]
xorps xmm3, xmm3
movss xmm5, dword [rax + rbx + 4]
cvttss2si eax, dword [r8]
subss xmm4, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x14000cf79
jne 0x14000cf79
mov eax, 1
jmp 0x14000cf7b
xor eax, eax
ucomiss xmm0, xmm3
jp 0x14000cf8a
jne 0x14000cf8a
mov r15d, 2
jmp 0x14000cf8d
xor r15d, r15d
movss xmm2, dword [0x14011e988]
or r15d, eax
comiss xmm3, xmm1
jb 0x14000cfa9
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x14000cfa9
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x14000cfba
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x14000cfba
movaps xmm0, xmm2
or dword [rdi + 0x47c0], 2
xor edx, edx
movss dword [rdi + 0x47e0], xmm1
movss dword [rdi + 0x47e4], xmm0
mov dword [rdi + 0x47c8], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x14000d003
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.140005600
jmp 0x14000d019
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.140005600
movss xmm6, dword [rdi + 0x37f8]
test sil, sil
jne 0x14000d030
mov dword [rdi + 0x37f8], 0
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
xor edx, edx
call fcn.14000fc30
mov rsi, qword [rdi + 0x3ee0]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x14000d076
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1401108f1]
not r9d
lea r10, [0x140111970]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000d0a3
cmp byte [rdx], r8b
jne 0x14000d0a3
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14000d090
not ebx
cmp dword [rdi + 0x3f40], ebx
jne 0x14000d0d3
xor edx, edx
xor ecx, ecx
call fcn.1400099c0
cmp dword [rdi + 0x48e8], r14d
jne 0x14000d120
bt r12d, 0x17
jb 0x14000d120
cmp word [rsi + 0x15c], 0
jne 0x14000d0f6
cmp byte [rsi + 0x162], 0
je 0x14000d120
xor edx, edx
mov rcx, rsi
call fcn.1400120b0
xor edx, edx
mov rcx, rsi
call fcn.140018990
mov rdx, rsi
mov ecx, ebx
call fcn.1400099c0
mov eax, dword [rdi + 0x490c]
mov dword [rdi + 0x3f68], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140016810
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14013fc40]
mov edi, ecx
cmp byte [rbx + 0x4a99], 0
jne 0x140016871
cmp byte [rbx + 0x4a9a], 0
jne 0x140016871
movsx r9d, word [rbx + 0x5bcc]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140005580
test dil, 2
je 0x1400169ad
jmp 0x1400168fa
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bcc]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14011e9c4]
mulss xmm1, dword [0x14011e9ac]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d8], rax
mov dword [rbx + 0x47c4], 1
movss dword [rbx + 0x47d0], xmm0
movss dword [rbx + 0x47d4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x14011e7fc]
or dword [rbx + 0x47c0], 0x41
movss dword [rbx + 0x4820], xmm0
call fcn.140005580
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140016950
lea r11, [0x140111970]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140016933
cmp byte [r8], r9b
jne 0x140016933
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140016920
mov rcx, qword [0x14013fc40]
not edx
add rcx, 0x3ec0
call fcn.140005dd0
test rax, rax
je 0x1400169ad
cmp byte [rax + 0xb6], 0
je 0x1400169ad
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bcc]
movsx r9d, word [rbx + 0x5bcc]
call fcn.140005580
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000fc30
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c2fa0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140064de0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140064e02
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140064e7c
mov rdi, r14
mov rcx, rbx
call fcn.140067f90
test rax, rax
jle 0x140064e54
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400fa610
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140064e6c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140064e74
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140064e16
sub r14, rdi
jmp 0x140064f5f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140064e93
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140064e95
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140064ec7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400fa610
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140064f5c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140064f02
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140064f3d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400d6e64
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140064f5c
cmp rbp, rax
ja 0x140064f10
test rbp, rbp
je 0x140064f5c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400d6e64
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

Function at 0x140069f50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 0x20
call fcn.1400c3704
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140071230]
xor edx, edx
xor ecx, ecx
call fcn.1400d8f20
mov qword [rdi], rax
test rax, rax
je 0x140069fd3
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c2fa0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call fcn.1400c4b84
int3
Function at 0x1400a81a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400a81d4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400a81c0
ret
Function at 0x1400ae6c0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400ae78c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400ae78c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400ae7a5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x1400ae77c
cmp byte [rax], 0x5c
jne 0x1400ae776
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400ae776
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400ae762
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400ae773
test r8b, 0x10
jne 0x1400ae776
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400ae776
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400aa290
test edi, edi
jne 0x1400ae6e0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400aa280
int3
Function at 0x1400b1fe0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1400b218e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140146978]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140146988]
lea rdx, [rdi + rdi]
call fcn.1400a7890
mov rax, qword [0x140146978]
lea r9, [rdi - 1]
mov qword [0x1401469a0], r9
mov qword [0x1401469a8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400b2183
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140146988]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400b20cf
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400b2144
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400b210c
mov r10, qword [rdx]
cmp r10, rax
je 0x1400b2106
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400b2144
cmp r9, rdx
je 0x1400b2120
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400b2158
cmp r9, rdx
jne 0x1400b2111
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400b217e
mov r9, qword [0x1401469a0]
jmp 0x1400b2080
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400b2144
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1400c4fec
int3
Function at 0x1400b9e30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x1400b9e64
cmp ecx, r10d
jge 0x1400b9e52
mov rcx, rbx
call fcn.1400b9640
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x1400b9e9e
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x1400b9e80
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x1400b9ec6
mov rax, qword gs:[0x58]
mov edx, 0x18
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x1400b9ef5
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x1400b9edf
xor dl, dl
jmp 0x1400b9ee8
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x1400b9ed6
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x1400b9ea2
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x1400b9f5f
mov rax, qword gs:[0x58]
mov edx, 0x18
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x1400b9f79
mov rcx, rbx
call fcn.1400b9780
test eax, eax
je 0x1400b9f52
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.1400fa610
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1400c3d2c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c3d76
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c3d76
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c3d76
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c3d76
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c3d76
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400c3d78
xor al, al
add rsp, 0x28
ret

Function at 0x1400c4160
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400c419a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400c419f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400c41e8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140100900]
cmp byte [rcx + rax], 0
je 0x1400c41e8
dec r8
sub rdx, 1
jne 0x1400c41ce
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400d2150
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400f3b30
sub rsp, rax
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400e0a64
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400d219f
mov rax, rbp
jmp 0x1400d22a7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x13f380]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400e0fe4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x13f380]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400d22a3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400d22a3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400e0fe4
test rax, rax
js 0x1400d22a3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400d22a3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400d2295
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400d2295
cmp byte [rcx], 0xd
jne 0x1400d227b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400d228a
cmp byte [rcx + 1], 0xa
jne 0x1400d228a
inc rcx
jmp 0x1400d228a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x13a4e0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400d225d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400d22a7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400c2fa0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400d8808
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400d8667
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d8667
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d8667
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d8667
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d8667
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d8667
cmp dword [rcx + 0xf8], 0
je 0x1400d8667
mov ecx, ebx
call fcn.1400d8724
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400d84f4
nop
cmp dword [rbp + 0x20], 0
je 0x1400d86b5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400d86c0
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400d85f8
Function at 0x1400da214
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1400ce254
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x1400da25f
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x1400da293
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400da293
call fcn.1400e1dc4
xor ebx, ebx
test eax, eax
jne 0x1400da281
cmp byte [rbp - 0x48], bl
je 0x1400da27a
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x1400da293
cmp byte [rbp - 0x48], bl
je 0x1400da291
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.1400d8b88
mov esi, eax
test eax, eax
je 0x1400da2cf
call fcn.1400d96f8
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x1400da328
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.1400d8b88
mov edi, eax
test eax, eax
je 0x1400da30b
call fcn.1400d96f8
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x1400da31a
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.1400e7ef8
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x1400da328
mov rcx, qword [rbp - 0x50]
call fcn.1400dfcc0
cmp byte [rbp - 8], bl
je 0x1400da336
mov rcx, qword [rbp - 0x20]
call fcn.1400dfcc0
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400da930
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x140104588]
mov rbp, rcx
call fcn.1400e8304
xor edi, edi
test rax, rax
je 0x1400daa16
mov ebx, edi
call fcn.1400d96f8
mov r14d, dword [rax]
call fcn.1400d96f8
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400e8250
mov rsi, rax
test rax, rax
je 0x1400da9a7
call fcn.1400d96f8
mov dword [rax], r14d
jmp 0x1400da9d1
call fcn.1400d96f8
cmp dword [rax], 0x22
jne 0x1400daa0e
call fcn.1400d96f8
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400e8250
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1400daa0e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1400da9d5
cmp rax, 3
je 0x1400da9f0
mov rcx, rsi
call fcn.1400da88c
test al, al
je 0x1400daa01
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400daa01
mov dil, 1
mov rcx, rbx
call fcn.1400cc610
mov al, dil
jmp 0x1400daa18
mov rcx, rbx
call fcn.1400cc610
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400c2fa0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400e1090
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14013f380]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400e10ee
cmp word [rdx], r12w
jne 0x1400e10ee
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400e10f4
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400e124f
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400e122a
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400e112d
mov rcx, r9
jmp 0x1400e1150
cmp r9, rdx
jae 0x1400e1167
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x1400e1111
jmp 0x1400e124f
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400e1224
cmp dword [rsp + 0x80], edi
je 0x1400e1224
mov rdx, r14
lea r11, [0x14013f380]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1400e11fd
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400e11d0
mov word [rbx], r12w
jmp 0x1400e124b
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400e11d9
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400e124b
cmp word [rsp + 0x70], r12w
jne 0x1400e120a
cmp rbx, rsi
je 0x1400e11ca
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400e0fec
cmp word [rsp + 0x70], r12w
je 0x1400e124f
mov word [rbx], r13w
jmp 0x1400e124b
lea r11, [0x14013f380]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400e1247
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400e124f
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret