joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000c73a
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x18003f258]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
rdtsc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, ebx
rol ecx, 0xd
mov edx, edi
rol edx, 0xf
imul r8d, eax, 0x7fed5213
xor edx, dword [0x18003f258]
xor edx, r8d
xor edx, ecx
xor edx, dword [0x18003f25c]
xor edi, ebx
xor edi, eax
xor edi, edx
rol edi, 0xc
xor r8d, r8d
lea rdx, [0x18002e4a0]
mov eax, r8d
and eax, 7
mov eax, dword [rdx + rax*4]
mov ecx, eax
rol ecx, 0x19
xor ecx, edi
xor dword [rsi + r8*4], ecx
mov r10d, dword [rsi + r8*4]
lea r9, [r8 + 1]
mov ecx, r9d
and ecx, 7
mov ecx, dword [rdx + rcx*4]
mov r11d, ecx
or r11d, 1
imul r11d, r10d
rol r11d, cl
mov dword [rsi + r8*4], r11d
mov r10d, dword [rsi + r8*4]
test r8b, 1
jne 0x18000c7e4
shr eax, 0x18
mov ecx, eax
ror r10d, cl
jmp 0x18000c7ec
shr eax, 0x10
mov ecx, eax
rol r10d, cl
mov dword [rsi + r8*4], r10d
mov r8, r9
cmp r9, 0x1c
jne 0x18000c799
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x18000c802
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x18003f258]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
rdtsc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, ebx
rol ecx, 0xd
mov edx, edi
rol edx, 0xf
imul r8d, eax, 0x7fed5213
xor edx, dword [0x18003f258]
xor edx, r8d
xor edx, ecx
xor edx, dword [0x18003f25c]
xor edi, ebx
xor edi, eax
xor edi, edx
lea rdx, [0x18002e4a0]
mov r8d, 1
mov r9, rdx
mov eax, dword [r9]
mov ecx, eax
rol edi, cl
mov ecx, eax
shr ecx, 8
ror eax, cl
xor eax, edi
mov ecx, r8d
and ecx, 7
mov ecx, dword [rdx + rcx*4]
mov edi, ecx
or edi, 1
imul edi, eax
rol edi, cl
xor dword [rsi + r8*4 - 4], edi
add r9, 4
inc r8
cmp r8, 9
jne 0x18000c864
mov eax, edi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x18000c8a4
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x18003f258]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
rdtsc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, ebx
rol ecx, 0xd
mov r8d, edi
rol r8d, 0xf
imul edx, eax, 0x7fed5213
xor r8d, dword [0x18003f258]
xor r8d, edx
xor r8d, ecx
xor r8d, dword [0x18003f25c]
xor r10d, r10d
lea r9, [0x18002e4c0]
mov ecx, r10d
and ecx, 7
mov edx, dword [r9 + rcx*4]
mov ecx, edx
rol ecx, 0x18
mov r11d, dword [rsi + r10*4]
xor r11d, r8d
xor r11d, edi
xor r11d, ebx
xor r11d, ecx
xor r11d, eax
mov dword [rsi + r10*4], r11d
mov ebp, dword [rsi + r10*4]
lea r11, [r10 + 1]
mov ecx, r11d
and ecx, 7
mov ecx, dword [r9 + rcx*4]
mov r14d, ecx
or r14d, 1
imul r14d, ebp
rol r14d, cl
mov dword [rsi + r10*4], r14d
mov ebp, dword [rsi + r10*4]
test r10b, 1
jne 0x18000c95e
shr edx, 0x18
mov ecx, edx
ror ebp, cl
jmp 0x18000c965
shr edx, 0x10
mov ecx, edx
rol ebp, cl
mov dword [rsi + r10*4], ebp
mov r10, r11
cmp r11, 0x10
jne 0x18000c901
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x18000c97e
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x18003f258]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
rdtsc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, ebx
rol ecx, 0xd
mov edx, edi
rol edx, 0xf
imul r8d, eax, 0x7fed5213
xor edx, dword [0x18003f258]
xor edx, r8d
xor edx, ecx
xor edx, dword [0x18003f25c]
xor edi, ebx
xor edi, eax
xor edi, edx
rol edi, 0xc
xor r8d, r8d
lea rdx, [0x18002e4e0]
mov eax, r8d
and eax, 7
mov eax, dword [rdx + rax*4]
mov ecx, eax
rol ecx, 0x18
xor ecx, edi
xor dword [rsi + r8*4], ecx
mov r10d, dword [rsi + r8*4]
lea r9, [r8 + 1]
mov ecx, r9d
and ecx, 7
mov ecx, dword [rdx + rcx*4]
mov r11d, ecx
or r11d, 1
imul r11d, r10d
rol r11d, cl
mov dword [rsi + r8*4], r11d
mov r10d, dword [rsi + r8*4]
test r8b, 1
jne 0x18000ca28
shr eax, 0x18
mov ecx, eax
ror r10d, cl
jmp 0x18000ca30
shr eax, 0x10
mov ecx, eax
rol r10d, cl
mov dword [rsi + r8*4], r10d
mov r8, r9
cmp r9, 0x1c
jne 0x18000c9dd
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x18000ca46
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x18003f258]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
rdtsc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, ebx
rol ecx, 0xd
mov edx, edi
rol edx, 0xf
imul r8d, eax, 0x7fed5213
xor edx, dword [0x18003f258]
xor edx, r8d
xor edx, ecx
xor edx, dword [0x18003f25c]
xor edi, ebx
xor edi, eax
xor edi, edx
xor r8d, r8d
lea rdx, [0x18002e4e0]
mov eax, r8d
and eax, 7
mov eax, dword [rdx + rax*4]
mov ecx, eax
rol edi, cl
mov ecx, eax
shr ecx, 8
ror eax, cl
xor eax, edi
lea r9, [r8 + 1]
mov ecx, r9d
and ecx, 7
mov ecx, dword [rdx + rcx*4]
mov edi, ecx
or edi, 1
imul edi, eax
rol edi, cl
xor dword [rsi + r8*4], edi
mov r8, r9
cmp r9, 9
jne 0x18000caa2
mov eax, edi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x18000cae6
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x18003f258]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
rdtsc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, ebx
rol ecx, 0xd
mov edx, edi
rol edx, 0xf
imul r8d, eax, 0x7fed5213
xor edx, dword [0x18003f258]
xor edx, r8d
xor edx, ecx
xor edx, dword [0x18003f25c]
xor edi, ebx
xor edi, eax
xor edi, edx
rol edi, 0x10
xor r8d, r8d
lea rdx, [0x18002e500]
mov eax, r8d
and eax, 7
mov eax, dword [rdx + rax*4]
mov ecx, eax
rol ecx, 4
xor ecx, edi
xor dword [rsi + r8*4], ecx
mov r10d, dword [rsi + r8*4]
lea r9, [r8 + 1]
mov ecx, r9d
and ecx, 7
mov ecx, dword [rdx + rcx*4]
mov r11d, ecx
or r11d, 1
imul r11d, r10d
rol r11d, cl
mov dword [rsi + r8*4], r11d
mov r10d, dword [rsi + r8*4]
test r8b, 1
jne 0x18000cb90
shr eax, 0x18
mov ecx, eax
ror r10d, cl
jmp 0x18000cb98
shr eax, 0x10
mov ecx, eax
rol r10d, cl
mov dword [rsi + r8*4], r10d
mov r8, r9
cmp r9, 0x10
jne 0x18000cb45
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x18000cbae
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x18003f258]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
rdtsc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, ebx
rol ecx, 0xd
mov edx, edi
rol edx, 0xf
imul r8d, eax, 0x7fed5213
xor edx, dword [0x18003f258]
xor edx, r8d
xor edx, ecx
xor edx, dword [0x18003f25c]
xor edi, ebx
xor edi, eax
xor edi, edx
xor edx, edx
lea r8, [0x18002e520]
mov ecx, dword [r8 + rdx*4]
mov r9d, edi
rol r9d, cl
mov eax, dword [r8 + rdx*4 + 8]
mov edi, dword [rsi + rdx*4]
shr ecx, 8
ror edi, cl
xor edi, r9d
mov r9d, eax
or r9d, 1
imul r9d, edi
mov ecx, eax
rol r9d, cl
xor dword [rsi + rdx*4 + 4], r9d
inc rdx
cmp rdx, 6
jne 0x18000cc09
mov eax, edi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x18000cc4c
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x18003f258]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
rdtsc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, ebx
rol ecx, 0xd
mov edx, edi
rol edx, 0xf
imul r8d, eax, 0x7fed5213
xor edx, dword [0x18003f258]
xor edx, r8d
xor edx, ecx
xor edx, dword [0x18003f25c]
xor edi, ebx
xor edi, eax
xor edi, edx
rol edi, 9
xor r8d, r8d
lea rdx, [0x18002e520]
mov eax, r8d
and eax, 7
mov eax, dword [rdx + rax*4]
mov ecx, eax
rol ecx, 0xa
xor ecx, edi
xor dword [rsi + r8*4], ecx
mov r10d, dword [rsi + r8*4]
lea r9, [r8 + 1]
mov ecx, r9d
and ecx, 7
mov ecx, dword [rdx + rcx*4]
mov r11d, ecx
or r11d, 1
imul r11d, r10d
rol r11d, cl
mov dword [rsi + r8*4], r11d
mov r10d, dword [rsi + r8*4]
test r8b, 1
jne 0x18000ccf6
shr eax, 0x10
mov ecx, eax
rol r10d, cl
jmp 0x18000ccfe
shr eax, 0x18
mov ecx, eax
ror r10d, cl
mov dword [rsi + r8*4], r10d
mov r8, r9
cmp r9, 0x19
jne 0x18000ccab
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x18000cd14
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x18003f258]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
rdtsc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, ebx
rol ecx, 0xd
mov r8d, edi
rol r8d, 0xf
imul edx, eax, 0x7fed5213
xor r8d, dword [0x18003f258]
xor r8d, edx
xor r8d, ecx
xor r8d, dword [0x18003f25c]
xor r10d, r10d
lea r9, [0x18002e540]
mov ecx, r10d
and ecx, 7
mov edx, dword [r9 + rcx*4]
mov ecx, edx
rol ecx, 0x1d
mov r11d, dword [rsi + r10*4]
xor r11d, r8d
xor r11d, edi
xor r11d, ebx
xor r11d, ecx
xor r11d, eax
mov dword [rsi + r10*4], r11d
mov ebp, dword [rsi + r10*4]
lea r11, [r10 + 1]
mov ecx, r11d
and ecx, 7
mov ecx, dword [r9 + rcx*4]
mov r14d, ecx
or r14d, 1
imul r14d, ebp
rol r14d, cl
mov dword [rsi + r10*4], r14d
mov ebp, dword [rsi + r10*4]
test r10b, 1
jne 0x18000cdce
shr edx, 0x18
mov ecx, edx
ror ebp, cl
jmp 0x18000cdd5
shr edx, 0x10
mov ecx, edx
rol ebp, cl
mov dword [rsi + r10*4], ebp
mov r10, r11
cmp r11, 0x10
jne 0x18000cd71
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x18000cdee
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x18003f258]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
rdtsc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, ebx
rol ecx, 0xd
mov r8d, edi
rol r8d, 0xf
imul edx, eax, 0x7fed5213
xor r8d, dword [0x18003f258]
xor r8d, edx
xor r8d, ecx
xor r8d, dword [0x18003f25c]
xor r10d, r10d
lea r9, [0x18002e560]
mov ecx, r10d
and ecx, 7
mov edx, dword [r9 + rcx*4]
mov ecx, edx
rol ecx, 0x10
mov r11d, dword [rsi + r10*4]
xor r11d, r8d
xor r11d, edi
xor r11d, ebx
xor r11d, ecx
xor r11d, eax
mov dword [rsi + r10*4], r11d
mov ebp, dword [rsi + r10*4]
lea r11, [r10 + 1]
mov ecx, r11d
and ecx, 7
mov ecx, dword [r9 + rcx*4]
mov r14d, ecx
or r14d, 1
imul r14d, ebp
rol r14d, cl
mov dword [rsi + r10*4], r14d
mov ebp, dword [rsi + r10*4]
test r10b, 1
jne 0x18000cea8
shr edx, 0x18
mov ecx, edx
ror ebp, cl
jmp 0x18000ceaf
shr edx, 0x10
mov ecx, edx
rol ebp, cl
mov dword [rsi + r10*4], ebp
mov r10, r11
cmp r11, 0x10
jne 0x18000ce4b
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x18000cec8
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x18003f258]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
rdtsc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, ebx
rol ecx, 0xd
mov edx, edi
rol edx, 0xf
imul r8d, eax, 0x7fed5213
xor edx, dword [0x18003f258]
xor edx, r8d
xor edx, ecx
xor edx, dword [0x18003f25c]
xor edi, ebx
xor edi, eax
xor edi, edx
rol edi, 5
xor r8d, r8d
lea rdx, [0x18002e580]
mov eax, r8d
and eax, 7
mov eax, dword [rdx + rax*4]
mov ecx, eax
rol ecx, 0x14
xor ecx, edi
xor dword [rsi + r8*4], ecx
mov r10d, dword [rsi + r8*4]
lea r9, [r8 + 1]
mov ecx, r9d
and ecx, 7
mov ecx, dword [rdx + rcx*4]
mov r11d, ecx
or r11d, 1
imul r11d, r10d
rol r11d, cl
mov dword [rsi + r8*4], r11d
mov r10d, dword [rsi + r8*4]
test r8b, 1
jne 0x18000cf72
shr eax, 0x10
mov ecx, eax
rol r10d, cl
jmp 0x18000cf7a
shr eax, 0x18
mov ecx, eax
ror r10d, cl
mov dword [rsi + r8*4], r10d
mov r8, r9
cmp r9, 0x15
jne 0x18000cf27
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x180010ca8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x180010cd6
xor eax, eax
jmp 0x180010dbc
cmp qword [rcx + 0x68], 0
je 0x180010ce7
call fcn.180010424
jmp 0x180010dbc
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180010cfe
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180010d00
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180010d32
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.18002c790
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x180010db6
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x180010d69
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x180010d92
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.180018058
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x180010db6
cmp rsi, rbx
ja 0x180010d70
test rsi, rsi
je 0x180010db6
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180018058
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x180011bcc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.180011c70
mov ebx, eax
test eax, eax
jne 0x180011bfc
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x180011c58
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180011c4f
test al, 0x10
je 0x180011c4f
bt eax, 0xa
jae 0x180011c48
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1800115e4
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x180011c44
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x180011c68
test edi, edi
jne 0x180011c4f
and dword [rsp + 0x3c], 0
jmp 0x180011c54
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.180017600
int3
Function at 0x180011cc0
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 0x180011cfa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180011cff
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 0x180011d48
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18002fa70]
cmp byte [rcx + rax], 0
je 0x180011d48
dec r8
sub rdx, 1
jne 0x180011d2e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x180015e44
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180015e44
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 0x180015eb3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180015eb3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180015eb3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180015eb3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180015eb3
cmp dword [rcx + 0x84], 0xe
jbe 0x180015eb3
cmp dword [rcx + 0xf8], 0
je 0x180015eb3
mov ecx, ebx
call fcn.180015d7c
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.180015fd8
nop
cmp dword [rbp + 0x20], 0
je 0x180015f01
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180015e10
int3

Function at 0x180019270
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180019298
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180019298
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18002251c
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.180013660
sub rsp, rax
mov rax, qword [0x18003e280]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18002157c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18002256b
mov rax, rbp
jmp 0x180022673
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x40530]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18002224c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x40530]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18002266f
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 0x18002266f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18002224c
test rax, rax
js 0x18002266f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18002266f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180022661
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180022661
cmp byte [rcx], 0xd
jne 0x180022647
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180022656
cmp byte [rcx + 1], 0xa
jne 0x180022656
inc rcx
jmp 0x180022656
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3eda0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180022629
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180022673
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18000f5a0
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 0x180022a04
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180022a34
xor eax, eax
jmp 0x180022af7
mov rbp, rbx
cmp word [rax], si
je 0x180022a59
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180022a40
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180022a3c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18001c924
movsxd r14, eax
test eax, eax
jne 0x180022a97
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180022a2d
mov rcx, r14
call fcn.18001c834
mov rdi, rax
test rax, rax
jne 0x180022ab0
xor ecx, ecx
call fcn.18001c7f8
jmp 0x180022a8c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18001c924
test eax, eax
jne 0x180022ae1
mov rcx, rdi
call fcn.18001c7f8
jmp 0x180022aeb
xor ecx, ecx
call fcn.18001c7f8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180023cec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180023d02
mov al, 1
jmp 0x180023d62
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180023d13
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180023d60
mov ecx, dword [rcx + 0x18]
nop
call fcn.18002a074
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180023d60
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180023d60
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180023d60
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180023d62
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180024698
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, [0x180040530]
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 0x1800246ef
cmp word [rdx], r13w
jne 0x1800246ef
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800246f4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180024819
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18002483a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18002472d
mov rdx, r9
mov word [rbx], cx
jmp 0x180024754
cmp r9, r8
jae 0x180024764
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 0x18002470e
jmp 0x180024819
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 0x18002480e
cmp dword [rsp + 0x80], esi
je 0x18002480e
lea r8, [0x180040530]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800247e6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800247b6
mov word [rbx], r13w
jmp 0x180024816
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 0x1800247c3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180024816
cmp word [rsp + 0x70], r13w
jne 0x1800247f3
cmp rbx, r14
je 0x1800247b0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800221a8
cmp word [rsp + 0x70], r13w
je 0x180024819
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, [0x180040530]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180024813
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180024819