joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140028c60
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400dc100]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1400dfbf0]
lea rdx, [rsp + 0x38]
mov rdi, qword [0x1400df9e0]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
sub eax, dword [rsp + 0x38]
mov qword [rsp + 0x30], 0
movd xmm1, eax
mov eax, dword [rsp + 0x44]
sub eax, dword [rsp + 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x30]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1400dfbf8]
cvtsi2ss xmm0, qword [0x1400dfc00]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1400dfbf8], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x1400df9e0]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x39b], 0
je 0x140028d9f
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x1400dfbf0]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rsp + 0x24], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x140028d9f
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400dfbf0]
jne 0x140028e09
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140028e09
mov rcx, qword [0x1400dfbf0]
lea rdx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140028e09
movd xmm0, dword [rsp + 0x28]
movd xmm1, dword [rsp + 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140028e19
mov eax, 0xffffffff
jmp 0x140028e26
mov rax, qword [0x1400df9e0]
mov eax, dword [rax + 0x1f48]
cmp dword [0x1400dcf20], eax
je 0x140028e39
mov dword [0x1400dcf20], eax
call fcn.140028810
call fcn.140028990
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140083b60
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140036ee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400dc100]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x140036f20
cmp al, 0x25
jne 0x140036f14
cmp byte [r8 + 1], al
jne 0x140036f20
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x140036f07
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x14003707d
cmp byte [r8 + 1], dl
je 0x14003707d
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140036f5d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140036f85
sub dl, 0x61
cmp dl, 0x19
ja 0x140036f77
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140036f85
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140036f40
jmp 0x140036f88
inc r9
cmp r8, r9
jae 0x140036fbf
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140036fb4
bt rdx, rax
jb 0x140036fba
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140036fa0
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.140004240
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140036ff8
nop
inc rcx
cmp byte [rcx], 0x20
je 0x140036ff0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14003706c
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x140037018
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14003705a
movss xmm2, dword [0x1400c9254]
cmp al, 0x39
ja 0x14003705a
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140037034
cmp r8b, 0x2d
jne 0x140037078
xorps xmm1, xmmword [0x1400c9ab0]
movaps xmm0, xmm1
jmp 0x140037080
call fcn.140094fac
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140037080
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140083b60
add rsp, 0x90
pop rbx
ret
Function at 0x1400370a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400dc100]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x1400370e0
cmp al, 0x25
jne 0x1400370d4
cmp byte [r8 + 1], al
jne 0x1400370e0
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x1400370c7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140037237
cmp byte [r8 + 1], dl
je 0x140037237
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14003711d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140037145
sub dl, 0x61
cmp dl, 0x19
ja 0x140037137
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140037145
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140037100
jmp 0x140037148
inc r9
cmp r8, r9
jae 0x14003717f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140037174
bt rdx, rax
jb 0x14003717a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140037160
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140004240
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400371b8
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x1400371b0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14003722a
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x1400371d8
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140037218
movsd xmm2, qword [0x1400c9210]
cmp al, 0x39
ja 0x140037218
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1400371f4
cmp r8b, 0x2d
jne 0x140037232
xorps xmm1, xmmword [0x1400c9aa0]
movaps xmm0, xmm1
jmp 0x14003723a
call fcn.140094fac
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14003723a
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140083b60
add rsp, 0x90
pop rbx
ret

Function at 0x140042a30
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400df9e0]
mov ecx, 1
mov dword [rax + 0x130], 0
mov byte [rax + 0x134], 0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140042a6a
mov rax, qword [0x1400df9e0]
mov byte [rax + 0x130], 1
add rsp, 0x28
ret
Function at 0x1400459a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400dc100]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
xor edi, edi
mov edx, edi
cmp ecx, 0xa5
ja 0x1400459d6
movsxd rax, ecx
lea rdx, [0x1400dcf90]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
mov r8d, 0xf
mov qword [rsp + 0x50], r8
mov byte [rsp + 0x38], dil
test rdx, rdx
jne 0x140045a03
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x38], dl
jmp 0x140045a29
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140045a10
lea rcx, [rsp + 0x38]
call fcn.1400727e0
mov r8, qword [rsp + 0x50]
cmp ebx, 1
jne 0x140045a4a
lea rax, [rsp + 0x38]
cmp r8, 0xf
cmova rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rdi
mov byte [rax], 0
mov r8, qword [rsp + 0x50]
mov dword [rsp + 0x30], 0x42a00000
mov dword [rsp + 0x34], 0x41a00000
lea rcx, [rsp + 0x38]
cmp r8, 0xf
cmova rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.1400448c0
test al, al
je 0x140045a99
test ebx, ebx
jne 0x140045a99
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x140045660]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140045ad2
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045acd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045aea
call fcn.140083dfc
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140083b60
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
call fcn.14008cef0
int3
Function at 0x140045af0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400dc100]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
xor edi, edi
mov edx, edi
cmp ecx, 0xa5
ja 0x140045b26
movsxd rax, ecx
lea rdx, [0x1400dcf90]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
mov r8d, 0xf
mov qword [rsp + 0x50], r8
mov byte [rsp + 0x38], dil
test rdx, rdx
jne 0x140045b53
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x38], dl
jmp 0x140045b79
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140045b60
lea rcx, [rsp + 0x38]
call fcn.1400727e0
mov r8, qword [rsp + 0x50]
cmp ebx, 1
jne 0x140045b9a
lea rax, [rsp + 0x38]
cmp r8, 0xf
cmova rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rdi
mov byte [rax], 0
mov r8, qword [rsp + 0x50]
mov dword [rsp + 0x30], 0x42a00000
mov dword [rsp + 0x34], 0x41a00000
lea rcx, [rsp + 0x38]
cmp r8, 0xf
cmova rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.1400448c0
test al, al
je 0x140045be9
test ebx, ebx
jne 0x140045be9
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x1400456b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140045c22
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045c1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045c3a
call fcn.140083dfc
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140083b60
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
call fcn.14008cef0
int3
Function at 0x14006d440
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x14006d464
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x14006d4f2
mov rdi, r15
mov qword [rsp + 0x40], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14006d4c0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x14006d4c0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1400b1550
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14006d4dd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14006d4e5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x14006d481
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x14006d5d0
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x14006d509
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14006d50b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14006d53d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1400b1550
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14006d5cd
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14006d578
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 rsi, 0xfff
jbe 0x14006d5ae
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14008ef28
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14006d5cd
cmp rsi, rax
ja 0x14006d581
test rsi, rsi
je 0x14006d5cd
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14008ef28
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x48]
mov rax, r15
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x140082008
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 0x140082042
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140082047
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 0x140082090
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400b6770]
cmp byte [rcx + rax], 0
je 0x140082090
dec r8
sub rdx, 1
jne 0x140082076
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140084b64
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140084bae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140084bae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140084bae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140084bae
cmp dword [rcx + 0x84], 0xe
jbe 0x140084bae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140084bb0
xor al, al
add rsp, 0x28
ret
Function at 0x14008d310
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.140084990
sub rsp, rax
mov rax, qword [0x1400dc100]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14009cf04
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14008d35f
mov rax, rbp
jmp 0x14008d467
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 + 0xdf430]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14009d9d8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xdf430]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14008d463
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 0x14008d463
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14009d9d8
test rax, rax
js 0x14008d463
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14008d463
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14008d455
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14008d455
cmp byte [rcx], 0xd
jne 0x14008d43b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14008d44a
cmp byte [rcx + 1], 0xa
jne 0x14008d44a
inc rcx
jmp 0x14008d44a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xdc530]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14008d41d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14008d467
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140083b60
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 0x1400950b8
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 0x140095127
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140095127
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140095127
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140095127
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140095127
cmp dword [rcx + 0x84], 0xe
jbe 0x140095127
cmp dword [rcx + 0xf8], 0
je 0x140095127
mov ecx, ebx
call fcn.1400951d8
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.140094fb4
nop
cmp dword [rbp + 0x20], 0
je 0x140095175
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140095180
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400950b8
Function at 0x1400952bc
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 0x140095127
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140095127
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140095127
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140095127
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140095127
cmp dword [rcx + 0x84], 0xe
jbe 0x140095127
cmp dword [rcx + 0xf8], 0
je 0x140095127
mov ecx, ebx
call fcn.1400951d8
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.140094fb4
nop
cmp dword [rbp + 0x20], 0
je 0x140095175
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140095180
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400950b8

Function at 0x140095724
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 0x14009575b
call fcn.1400966e0
mov dword [rax], 0x16
call fcn.14008ced0
xor eax, eax
jmp 0x1400957e9
mov rdx, r9
mov rcx, r8
call fcn.1400956c0
mov rbx, rax
test rax, rax
je 0x1400957e6
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400955ec]
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 0x1400957d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140096654
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400957ba
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400957c9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14009ad2c
jmp 0x1400957e6
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400957e3
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 0x14009da84
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, [0x1400df430]
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 0x14009dadb
cmp word [rdx], r13w
jne 0x14009dadb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14009dae0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14009dc05
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14009dc26
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14009db19
mov rdx, r9
mov word [rbx], cx
jmp 0x14009db40
cmp r9, r8
jae 0x14009db50
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 0x14009dafa
jmp 0x14009dc05
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 0x14009dbfa
cmp dword [rsp + 0x80], esi
je 0x14009dbfa
lea r8, [0x1400df430]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14009dbd2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14009dba2
mov word [rbx], r13w
jmp 0x14009dc02
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 0x14009dbaf
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14009dc02
cmp word [rsp + 0x70], r13w
jne 0x14009dbdf
cmp rbx, r14
je 0x14009db9c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14009d9e0
cmp word [rsp + 0x70], r13w
je 0x14009dc05
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, [0x1400df430]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14009dbff
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14009dc05
Function at 0x14009fb2c
Capabilities:
Get file size

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