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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400b8980]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400ba050]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x43fd], 0
jne 0x14000c718
cmp byte [rbx + 0x43fe], 0
jne 0x14000c718
movsx r9d, word [rbx + 0x54de]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140019d10
test sil, 1
je 0x14000c850
jmp 0x14000c7b8
movss xmm1, dword [rbx + 0x39c0]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400745c0]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x1400745b8]
addss xmm0, dword [rbx + 0xd9c]
addss xmm1, dword [rbx + 0xda0]
or dword [rbx + 0x40f0], 1
mov qword [rbx + 0x410c], rax
movss dword [rbx + 0x4104], xmm0
mov dword [rbx + 0x40f4], 1
movss dword [rbx + 0x4108], xmm1
mov byte [rbx + 0x412c], 1
movss xmm0, dword [rbx + 0x3a1c]
mov rax, qword [0x1400ba050]
mulss xmm0, dword [0x1400726b0]
or dword [rax + 0x40f0], 0x40
movss dword [rax + 0x4150], xmm0
movsx r9d, word [rbx + 0x54de]
call fcn.140019d10
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000c808
lea r11, [0x140072ee0]
cmp r9b, 0x23
jne 0x14000c7eb
cmp byte [r8], r9b
jne 0x14000c7eb
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000c7d8
not ecx
call fcn.140018740
test rax, rax
je 0x14000c850
cmp byte [rax + 0xcb], 0
je 0x14000c850
mov byte [rax + 0xd2], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xec], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x54de]
mov edx, 0x10
movsx r9d, word [rbx + 0x54de]
call fcn.140019d10
or edi, 0x22c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140008ae0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004be40
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140016060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x1400160ad
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x1400160b2
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x1400160dd
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x1400160dd
mov rax, qword [rax + 0x390]
test rax, rax
je 0x1400160dd
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x1400160e2
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x1400160fc
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140016101
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x140016183
inc ecx
test r8d, r8d
je 0x14001616e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140016173
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.14002c0f0
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1400161c2
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.140016060
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x1400161d2
inc esi
jmp 0x140016090
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400184f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140018542
lea r11, [0x140072ee0]
cmp r9b, 0x23
jne 0x140018525
cmp byte [r8], r9b
jne 0x140018525
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140018512
mov r11, qword [0x1400ba050]
mov r10, qword [r11 + 0x5598]
test r10, r10
je 0x140018589
lea r9, [r10 + 4]
test r9, r9
je 0x140018589
not eax
cmp dword [r9], eax
je 0x140018592
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x5590]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140018560
mov rcx, rbx
pop rbx
jmp fcn.14000e470
mov rax, r9
pop rbx
ret

Function at 0x1400185e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400ba050]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018643
mov qword [rsp], rbx
lea rbx, [0x140072ee0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018623
cmp byte [r8], r9b
jne 0x140018623
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140018610
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5580]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140018677
mov r10, qword [r10 + 0x5588]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001867e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140018664
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret

Function at 0x1400187c0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x140018810
lea r11, [0x140072ee0]
cmp r9b, 0x23
jne 0x1400187f3
cmp byte [r8], r9b
jne 0x1400187f3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400187e0
not ecx
jmp fcn.140018740

Function at 0x140018e80
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
mov rax, qword [rcx + 0x110]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140072ee0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1400ba050]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x401c], ebx
jne 0x140018f18
mov r8, r9
mov ecx, ebx
xor r9d, r9d
lea edx, [r9 + 4]
call fcn.14000e5f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140018fa0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x110]
lea r9, [0x140072ee0]
movss xmm2, dword [rcx + 0x128]
movss xmm3, dword [rcx + 0x12c]
movsxd rcx, dword [rcx + 0x108]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret

Function at 0x140019e60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140019ebd
lea rbx, [0x140072ee0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140019ea4
cmp r10, 2
jb 0x140019ea4
cmp byte [r9], r8b
jne 0x140019ea4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140019e80
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140019eff
lea rbx, [0x140072ee0]
cmp r8b, 0x23
jne 0x140019ee3
cmp byte [r9], r8b
jne 0x140019ee3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140019ed0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140028db0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rbx, qword [0x1400ba050]
cmp byte [rbx + 0x5568], 0
jne 0x140028f01
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140028efa
lea rdx, [0x140074084]
mov qword [rsp + 0x38], rdi
call fcn.140019bc0
mov rdi, rax
test rax, rax
je 0x140028ef5
mov qword [rsp + 0x40], r14
mov rcx, rax
mov qword [rsp + 0x30], rbp
call fcn.1400545c4
mov r14d, eax
cmp eax, 0xffffffff
je 0x140028ee3
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.140054008
test eax, eax
jne 0x140028ee3
mov rcx, rdi
call fcn.1400545c4
movsxd rbp, eax
cmp ebp, 0xffffffff
je 0x140028ee3
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call fcn.140054008
test eax, eax
jne 0x140028ee3
mov r14, rbp
cmp rbp, 0xffffffffffffffff
je 0x140028ee3
mov rax, qword [0x1400ba050]
test rax, rax
je 0x140028e75
inc dword [rax + 0xf4]
mov rdx, qword [0x1400ba060]
mov rcx, r14
call qword [0x140091080]
mov rbp, rax
test rax, rax
je 0x140028ee3
mov r9, rdi
mov r8, r14
mov edx, 1
mov rcx, rax
call fcn.140053cd0
mov rcx, rdi
cmp rax, r14
je 0x140028eaf
call fcn.1400535e8
jmp 0x140028ebf
call fcn.1400535e8
mov rdx, r14
mov rcx, rbp
call fcn.14001aee0
mov rax, qword [0x1400ba050]
test rax, rax
je 0x140028ed1
dec dword [rax + 0xf4]
mov rdx, qword [0x1400ba060]
mov rcx, rbp
call qword [0x140091088]
jmp 0x140028eeb
mov rcx, rdi
call fcn.1400535e8
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov byte [rbx + 0x5568], 1
movss xmm0, dword [rbx + 0x556c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140028f44
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x556c], xmm0
jb 0x140028f44
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140028f33
call fcn.140024e20
jmp 0x140028f3a
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x556c], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x140042300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400ba050]
mov rcx, qword [rax + 0x44b8]
mov r10, qword [rax + 0x3fe0]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x16c]
movss xmm4, dword [rcx + 0x16c]
movss xmm3, dword [rcx + 0x170]
movss xmm2, dword [rcx + 0x174]
movss xmm1, dword [rcx + 0x178]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x2c0]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x258], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2c0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x2c0]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp fcn.140034d50

Function at 0x1400423d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400ba050]
mov rcx, qword [rax + 0x44b8]
mov r9, qword [rax + 0x3fe0]
movups xmm0, xmmword [r9 + 0x258]
movups xmmword [rcx + 0x16c], xmm0
mov rax, qword [r9 + 0x2c0]
movups xmm0, xmmword [rcx + 0x14c]
movss xmm4, dword [rcx + 0x14c]
movss xmm3, dword [rcx + 0x150]
movss xmm2, dword [rcx + 0x154]
movss xmm1, dword [rcx + 0x158]
movups xmmword [r9 + 0x258], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2c0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x207]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x2c0]
add rsp, 0x38
jmp fcn.140034d50
Function at 0x14004b280
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 0x14004b2ba
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14004b2bf
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 0x14004b308
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140079040]
cmp byte [rcx + rax], 0
je 0x14004b308
dec r8
sub rdx, 1
jne 0x14004b2ee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14004c694
Capabilities:
Parse pe header

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

Function at 0x140052dbc
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 0x140052c27
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140052c27
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140052c27
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140052c27
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140052c27
cmp dword [rcx + 0x84], 0xe
jbe 0x140052c27
cmp dword [rcx + 0xf8], 0
je 0x140052c27
mov ecx, ebx
call fcn.140052cd8
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.140052ab4
nop
cmp dword [rbp + 0x20], 0
je 0x140052c75
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140052c80
int3
xor r8d, r8d
xor edx, edx
jmp 0x140052bb8
Function at 0x140052f58
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140052f8f
call fcn.140063498
mov dword [rax], 0x16
call fcn.140052a1c
xor eax, eax
jmp 0x14005301d
mov rdx, r9
mov rcx, r8
call fcn.140052ef4
mov rbx, rax
test rax, rax
je 0x14005301a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140052e20]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140053007
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14006340c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140052fee
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140052ffd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140063530
jmp 0x14005301a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140053017
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400543e0
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.14004c060
sub rsp, rax
mov rax, qword [0x1400b8980]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140064314
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14005442f
mov rax, rbp
jmp 0x140054537
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 + 0xbb430]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140066190
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xbb430]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140054533
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 0x140054533
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140066190
test rax, rax
js 0x140054533
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140054533
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140054525
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140054525
cmp byte [rcx], 0xd
jne 0x14005450b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14005451a
cmp byte [rcx + 1], 0xa
jne 0x14005451a
inc rcx
jmp 0x14005451a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xb8cf0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400544ed
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140054537
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14004be40
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 0x1400653c8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400bb430]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14006541f
cmp word [rdx], r13w
jne 0x14006541f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140065424
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140065549
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14006556a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14006545d
mov rdx, r9
mov word [rbx], cx
jmp 0x140065484
cmp r9, r8
jae 0x140065494
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14006543e
jmp 0x140065549
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006553e
cmp dword [rsp + 0x80], esi
je 0x14006553e
lea r8, [0x1400bb430]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140065516
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400654e6
mov word [rbx], r13w
jmp 0x140065546
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400654f3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140065546
cmp word [rsp + 0x70], r13w
jne 0x140065523
cmp rbx, r14
je 0x1400654e0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140066198
cmp word [rsp + 0x70], r13w
je 0x140065549
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400bb430]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140065543
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140065549
Function at 0x140066334
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14006634a
mov al, 1
jmp 0x1400663aa
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14006635b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400663a8
mov ecx, dword [rcx + 0x18]
nop
call fcn.14006b11c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400663a8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400663a8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400663a8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400663aa
xor al, al
add rsp, 0x20
pop rbx
ret