joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004d30c
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 0x14004d33c
xor eax, eax
jmp 0x14004d3ff
mov rbp, rbx
cmp word [rax], si
je 0x14004d361
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14004d348
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14004d344
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.14004bb4c
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x14004d3a2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14004d335
call fcn.140043640
mov rdi, rax
test rax, rax
jne 0x14004d3b8
xor ecx, ecx
call fcn.1400435e0
jmp 0x14004d397
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.14004bb4c
test eax, eax
jne 0x14004d3e9
mov rcx, rdi
call fcn.1400435e0
jmp 0x14004d3f3
xor ecx, ecx
call fcn.1400435e0
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 0x1400502ac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x14005031f
cmp word [rcx], si
je 0x14005031f
lea rdx, [0x140060988]
call fcn.140053a70
test eax, eax
je 0x14005031f
lea rdx, [0x1400609a0]
mov rcx, rbx
call fcn.140053a70
test eax, eax
jne 0x140050315
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14005033c
mov eax, dword [rsp + 0x30]
jmp 0x14005034e
mov rcx, rbx
call fcn.14003ce38
jmp 0x14005034e
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140050340
xor eax, eax
jmp 0x14005034e
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14005034e
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140050360
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1400452f8
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140050403
cmp edi, dword [rsp + 0x30]
je 0x1400503fc
test ebp, ebp
je 0x1400503fc
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x1400503d8
sub dx, 0x61
cmp dx, 0x19
ja 0x1400503e4
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x1400503c5
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x1400503e8
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x140050405
mov eax, 1
jmp 0x140050405
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140053588
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14003c0d8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140053612
cmp byte [rbp - 0x21], r15b
je 0x14005360d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140053648
call fcn.140047540
test eax, eax
jne 0x140053634
cmp byte [rbp - 0x21], r15b
je 0x14005362c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140053648
cmp byte [rbp - 0x21], r15b
je 0x140053645
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140040430
test eax, eax
jne 0x1400536e8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14003c0d8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140053687
cmp byte [rbp - 0x21], r15b
je 0x1400536bc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400536bc
call fcn.140047540
test eax, eax
jne 0x1400536a8
cmp byte [rbp - 0x21], r15b
je 0x1400536a1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400536bc
cmp byte [rbp - 0x21], r15b
je 0x1400536b9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140040430
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400536e8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400536eb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400536f9
mov rcx, rdi
call fcn.1400435e0
cmp byte [rbp + 0x3f], r15b
je 0x140053708
mov rcx, qword [rbp + 0x27]
call fcn.1400435e0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400550f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140055118
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140055118
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800034b0
Capabilities:
Create thread
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x680
mov rax, qword [0x18002b020]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov rsi, rcx
xor ebp, ebp
cmp edx, 1
jne 0x180003717
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov ebx, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r9d, 0x104
lea r8, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbp + 1]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800036b2
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rsp + 0x270]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180003658
nop dword [rax]
mov edx, dword [rsp + 0x40]
test edx, edx
je 0x180003658
mov r8d, ebp
cmp edx, 8
jb 0x18000360c
mov r9d, edx
and r9d, 0xfffffff8
xorps xmm1, xmm1
xorps xmm2, xmm2
nop word [rax + rax]
mov eax, r8d
movd xmm0, dword [rsp + rax + 0x270]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
paddd xmm1, xmm0
lea eax, [r8 + 4]
movd xmm0, dword [rsp + rax + 0x270]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
paddd xmm0, xmm2
movdqa xmm2, xmm0
add r8d, 8
cmp r8d, r9d
jb 0x1800035a0
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add ebx, eax
cmp r8d, edx
jae 0x18000362f
mov eax, r8d
lea rax, [rsp + rax + 0x270]
sub edx, r8d
nop
movsx ecx, byte [rax]
add ebx, ecx
lea rax, [rax + 1]
sub rdx, 1
jne 0x180003620
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rsp + 0x270]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180003570
mov r9d, ebx
lea r8, str._08X
mov edx, 9
lea rcx, [rsp + 0x48]
call fcn.180001140
lea rdx, [rsp + 0x48]
lea r8, str.0005F6C0
mov rcx, 0xffffffffffffffff
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x1800036b2
add rcx, 2
cmp rcx, 9
je 0x180003717
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
je 0x180003690
mov qword [0x18002ceb0], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r9d, 0x104
lea r8, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.180001360
lea rcx, [rsp + 0x60]
call fcn.1800015b0
test al, al
jne 0x180003717
call fcn.180001480
test eax, eax
jne 0x180003717
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
lea r8, [0x1800032c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.180008270
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180004060
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180004280
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180004167
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800040c4
mov rax, qword [0x18002b008]
cmp qword [rsp + 0x20], rax
ja 0x1800040c4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180004086
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18000a960
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800040f3
jmp 0x180004167
cmp dword [rsp + 0x50], 0x10000
jne 0x18000414a
cmp qword [rsp + 0x48], 0x10000
jb 0x18000414a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180004138
mov rax, qword [rsp + 0x28]
jmp 0x180004169
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180004162
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180004280
mov qword [rsp + 0x20], rax
jmp 0x180004086
xor eax, eax
add rsp, 0x68
ret

Function at 0x180004170
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800042c0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180004273
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800041cb
mov rax, qword [0x18002b008]
cmp qword [rsp + 0x20], rax
ja 0x1800041cb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18000418d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18000a960
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800041fa
jmp 0x180004273
cmp dword [rsp + 0x50], 0x10000
jne 0x180004251
cmp qword [rsp + 0x48], 0x10000
jb 0x180004251
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18000423f
mov rax, qword [rsp + 0x28]
jmp 0x180004275
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18000426e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800042c0
mov qword [rsp + 0x20], rax
jmp 0x18000418d
xor eax, eax
add rsp, 0x68
ret
Function at 0x180004310
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800048a0
mov qword [rsp + 0x28], 0
cmp qword [0x18002bc18], 0
jne 0x180004358
cmp qword [0x18002bc10], 0
je 0x180004358
mov rax, qword [0x18002bc10]
mov qword [0x18002bc18], rax
cmp qword [0x18002bc18], 0
je 0x1800043fe
mov rax, qword [0x18002bc18]
cmp qword [rax + 0x10], 0
je 0x1800043fe
mov rax, qword [0x18002bc18]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800043fe
mov rax, qword [0x18002bc18]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800043fe
mov rax, qword [0x18002bc18]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800043c4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800043cb
xor eax, eax
jmp 0x180004579
mov rax, qword [0x18002bc18]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.18000a960
mov rax, qword [rsp + 0x28]
jmp 0x180004579
mov rax, qword [0x18002bc10]
mov qword [0x18002bc18], rax
jmp 0x180004420
mov rax, qword [0x18002bc18]
mov rax, qword [rax + 8]
mov qword [0x18002bc18], rax
cmp qword [0x18002bc18], 0
je 0x18000446d
cmp qword [0x18002bc18], 0
je 0x18000446b
mov rax, qword [0x18002bc18]
cmp qword [rax + 0x10], 0
je 0x18000446b
mov rax, qword [0x18002bc18]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18000446b
mov rax, qword [0x18002bc18]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18000446b
jmp 0x18000439c
jmp 0x18000440e
mov rcx, qword [rsp + 0x60]
call fcn.1800064d0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180004580
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180004577
mov rax, qword [rsp + 0x48]
mov qword [0x18002bc18], rax
mov rax, qword [0x18002bc18]
mov dword [rax], 0x52727464
mov rax, qword [0x18002bc18]
mov qword [rax + 0x10], 0
mov rax, qword [0x18002bc18]
mov rcx, qword [0x18002bc10]
mov qword [rax + 8], rcx
mov rax, qword [0x18002bc18]
mov qword [0x18002bc10], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18002bc18]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180004528
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180004562
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18000451e
mov rax, qword [0x18002bc18]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18000439c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800064e0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
cmp dword [0x18002bca0], 0
je 0x1800064f4
xor eax, eax
jmp 0x18000675d
cmp qword [0x18002bc98], 0
je 0x18000650a
mov rax, qword [0x18002bc98]
jmp 0x18000675d
mov r8d, 0x48
xor edx, edx
lea rcx, [0x18002bc50]
call fcn.18000a960
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x18002bc50], rax
xor r8d, r8d
xor edx, edx
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x18002bc58], rax
cmp qword [0x18002bc58], 0
jne 0x1800065c3
mov dword [0x18002bca0], 1
cmp qword [0x18002bc58], 0
je 0x18000656f
mov rcx, qword [0x18002bc58]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x18002bc60], 0
mov qword [0x18002bc68], 0
mov qword [0x18002bc70], 0
mov qword [0x18002bc78], 0
mov qword [0x18002bc80], 0
mov qword [0x18002bc88], 0
mov qword [0x18002bc90], 0
xor eax, eax
jmp 0x18000675d
lea rdx, str.ImagehlpApiVersionEx
mov rcx, qword [0x18002bc58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002bc60], rax
lea rdx, str.SymInitialize
mov rcx, qword [0x18002bc58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002bc68], rax
lea rdx, str.SymSetOptions
mov rcx, qword [0x18002bc58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002bc70], rax
lea rdx, str.SymGetOptions
mov rcx, qword [0x18002bc58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002bc78], rax
lea rdx, str.SymLoadModule64
mov rcx, qword [0x18002bc58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002bc80], rax
lea rdx, str.SymGetModuleInfo64
mov rcx, qword [0x18002bc58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002bc88], rax
lea rdx, str.SymFromName
mov rcx, qword [0x18002bc58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002bc90], rax
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.18000a960
mov eax, 0xc
mov word [rsp + 0x28], ax
cmp qword [0x18002bc60], 0
je 0x1800066ce
cmp qword [0x18002bc68], 0
je 0x1800066ce
cmp qword [0x18002bc80], 0
je 0x1800066ce
cmp qword [0x18002bc88], 0
je 0x1800066ce
cmp qword [0x18002bc90], 0
jne 0x1800066d3
jmp 0x18000654e
lea rcx, [rsp + 0x28]
call qword [0x18002bc60]
movzx eax, word [rsp + 0x28]
cmp eax, 0xc
jge 0x1800066ed
jmp 0x18000654e
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x18002bc50]
call qword [0x18002bc68]
test eax, eax
jne 0x180006708
jmp 0x18000654e
cmp qword [0x18002bc78], 0
je 0x180006748
cmp qword [0x18002bc70], 0
je 0x180006748
call qword [0x18002bc78]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 0xfffffff8
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
or eax, 0x2704
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
call qword [0x18002bc70]
lea rax, [0x18002bc50]
mov qword [0x18002bc98], rax
mov rax, qword [0x18002bc98]
add rsp, 0x38
ret
Function at 0x1800161e4
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 0x180016214
xor eax, eax
jmp 0x1800162d7
mov rbp, rbx
cmp word [rax], si
je 0x180016239
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180016220
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001621c
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.180016134
movsxd r14, eax
test eax, eax
jne 0x180016277
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18001620d
mov rcx, r14
call fcn.1800127bc
mov rdi, rax
test rax, rax
jne 0x180016290
xor ecx, ecx
call fcn.180012780
jmp 0x18001626c
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.180016134
test eax, eax
jne 0x1800162c1
mov rcx, rdi
call fcn.180012780
jmp 0x1800162cb
xor ecx, ecx
call fcn.180012780
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 0x1400036f0
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 0x14000374d
lea rbx, [0x1400cacd0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003734
cmp r10, 2
jb 0x140003734
cmp byte [r9], r8b
jne 0x140003734
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 0x140003710
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000378f
lea rbx, [0x1400cacd0]
cmp r8b, 0x23
jne 0x140003773
cmp byte [r9], r8b
jne 0x140003773
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 0x140003760
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400038d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400038ea
mov qword [r8], 0
lea rdx, [0x1400ca848]
call fcn.1400037a0
mov rbx, rax
test rax, rax
jne 0x14000390a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400039e3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400039e3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400039e3
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400039e3
cmp rdi, 0xffffffffffffffff
je 0x1400039e3
mov rax, qword [0x1401ac1c8]
test rax, rax
je 0x140003980
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400039e3
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1400039d0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401ac1c8]
test rax, rax
je 0x1400039c5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400039ec
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400039de
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400039ee
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret