joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f800
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000f828
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000f828
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002084
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
xor edx, edx
mov ebx, ecx
lea rcx, [rbp - 0x69]
lea r8d, [rdx + 0x40]
call sub.msvcrt.dll_memset
cmp ebx, 6
jne 0x1400020bb
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp - 0x25]
jmp 0x140002135
lea rcx, [rbp - 0x69]
mov dword [rbp - 0x69], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14000210e
mov ecx, ebx
test ebx, ebx
je 0x140002108
dec ecx
je 0x140002102
dec ecx
je 0x1400020fc
dec ecx
je 0x1400020f6
dec ecx
je 0x1400020f0
dec ecx
jne 0x14000210e
mov rax, qword [rbp - 0x49]
jmp 0x140002135
mov rax, qword [rbp - 0x51]
jmp 0x140002135
mov rax, qword [rbp - 0x39]
jmp 0x140002135
mov rax, qword [rbp - 0x41]
jmp 0x140002135
mov rax, qword [rbp - 0x59]
jmp 0x140002135
mov rax, qword [rbp - 0x61]
jmp 0x140002135
cmp ebx, 7
jne 0x140002133
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8d, [rbx + 0x49]
lea rdx, [rbp + 7]
mov rcx, rax
call sub.PSAPI.DLL_GetProcessMemoryInfo
test eax, eax
je 0x140002133
mov rax, qword [rbp + 0x4f]
jmp 0x140002135
xor eax, eax
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rbp
ret
Function at 0x140001670
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.1400018c0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x14000178b
mov rax, qword [0x140026008]
cmp qword [rsp + 0x20], rax
jb 0x1400016d4
mov rax, qword [0x140026010]
cmp qword [rsp + 0x20], rax
ja 0x1400016d4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x140001696
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400191b0
nop
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x140001706
jmp 0x14000178b
cmp dword [rsp + 0x50], 0x10000
jne 0x14000176e
cmp qword [rsp + 0x48], 0x10000
jb 0x14000176e
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000174c
mov rax, qword [rsp + 0x28]
jmp 0x14000178d
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x14000175c
xor eax, eax
jmp 0x14000178d
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x140001786
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1400018c0
mov qword [rsp + 0x20], rax
jmp 0x140001696
xor eax, eax
add rsp, 0x68
ret

Function at 0x1400017a0
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.140001900
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1400018b7
mov rax, qword [0x140026008]
cmp qword [rsp + 0x20], rax
jb 0x1400017fb
mov rax, qword [0x140026010]
cmp qword [rsp + 0x20], rax
ja 0x1400017fb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1400017bd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400191b0
nop
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x14000182d
jmp 0x1400018b7
cmp dword [rsp + 0x50], 0x10000
jne 0x140001895
cmp qword [rsp + 0x48], 0x10000
jb 0x140001895
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140001873
mov rax, qword [rsp + 0x28]
jmp 0x1400018b9
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x140001883
xor eax, eax
jmp 0x1400018b9
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1400018b2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140001900
mov qword [rsp + 0x20], rax
jmp 0x1400017bd
xor eax, eax
add rsp, 0x68
ret
Function at 0x140001950
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.140001ee0
mov qword [rsp + 0x28], 0
cmp qword [0x140026ba0], 0
jne 0x140001998
cmp qword [0x140026b98], 0
je 0x140001998
mov rax, qword [0x140026b98]
mov qword [0x140026ba0], rax
cmp qword [0x140026ba0], 0
je 0x140001a3e
mov rax, qword [0x140026ba0]
cmp qword [rax + 0x10], 0
je 0x140001a3e
mov rax, qword [0x140026ba0]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x140001a3e
mov rax, qword [0x140026ba0]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x140001a3e
mov rax, qword [0x140026ba0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x140001a04
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x140001a0b
xor eax, eax
jmp 0x140001bb5
mov rax, qword [0x140026ba0]
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.1400191b0
mov rax, qword [rsp + 0x28]
jmp 0x140001bb5
mov rax, qword [0x140026b98]
mov qword [0x140026ba0], rax
jmp 0x140001a60
mov rax, qword [0x140026ba0]
mov rax, qword [rax + 8]
mov qword [0x140026ba0], rax
cmp qword [0x140026ba0], 0
je 0x140001aad
cmp qword [0x140026ba0], 0
je 0x140001aab
mov rax, qword [0x140026ba0]
cmp qword [rax + 0x10], 0
je 0x140001aab
mov rax, qword [0x140026ba0]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x140001aab
mov rax, qword [0x140026ba0]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x140001aab
jmp 0x1400019dc
jmp 0x140001a4e
mov rax, qword [rsp + 0x60]
and rax, 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.140001bc0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140001bb3
mov rax, qword [rsp + 0x48]
mov qword [0x140026ba0], rax
mov rax, qword [0x140026ba0]
mov dword [rax], 0x52727464
mov rax, qword [0x140026ba0]
mov qword [rax + 0x10], 0
mov rax, qword [0x140026ba0]
mov rcx, qword [0x140026b98]
mov qword [rax + 8], rcx
mov rax, qword [0x140026ba0]
mov qword [0x140026b98], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x140026ba0]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x140001b64
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x140001b9e
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 0x140001b5a
mov rax, qword [0x140026ba0]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1400019dc
xor eax, eax
add rsp, 0x58
ret
Function at 0x1400028d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140002917
xor al, al
jmp 0x1400029b9
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x140002941
xor al, al
jmp 0x1400029b9
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x1400029b1
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x1400029b1
mov al, 1
jmp 0x1400029b9
jmp 0x1400029b7
xor al, al
add rsp, 0x78
ret

Function at 0x140002cc0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140026b98]
mov qword [rsp + 0x28], rax
jmp 0x140002ce0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140002d0f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x140002d0d
call sub.KERNEL32.dll_GetLastError
jmp 0x140002d11
jmp 0x140002cd2
xor eax, eax
add rsp, 0x38
ret
Function at 0x1400033e0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x140026bb0], eax
je 0x1400033fb
mov eax, 0x10dd
jmp 0x140003524
mov rax, qword [0x140026bc8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400034a7
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
nop
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x140003471
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x140003471
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.140002020
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.140005240
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x140003407
mov qword [0x140026bc8], 0
call fcn.140002a80
nop
mov rax, qword [0x140026bc0]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14000350d
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.140005240
nop
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1400034c4
mov qword [0x140026bc0], 0
mov dword [0x140026bb0], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x140003a50
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x140026bb4], 0
je 0x140003a6d
mov eax, dword [0x140026bb4]
jmp 0x140003b34
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x140003a80
xor eax, eax
jmp 0x140003b34
mov ecx, 0x10
call fcn.140005204
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140003aef
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x140003ad4
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.140005240
nop
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x140026bb4], eax
mov qword [0x140026bb8], 0
mov eax, dword [rsp + 0x20]
jmp 0x140003b34
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x140003b09
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x140003aa9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x140026bc0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x140026bc0], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400057c4
Capabilities:
Parse pe header

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

Function at 0x14000b674
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 0x14000b6e3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b6e3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000b6e3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000b6e3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000b6e3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000b6e3
cmp dword [rcx + 0xf8], 0
je 0x14000b6e3
mov ecx, ebx
call fcn.14000b794
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.14000b570
nop
cmp dword [rbp + 0x20], 0
je 0x14000b731
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000b73c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000b674

Function at 0x14000b878
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000b674
Function at 0x140010c58
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 0x140010c88
xor eax, eax
jmp 0x140010d4b
mov rbp, rbx
cmp word [rax], si
je 0x140010cad
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140010c94
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140010c90
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.140010b78
movsxd r14, eax
test eax, eax
jne 0x140010ceb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140010c81
mov rcx, r14
call fcn.14000d40c
mov rdi, rax
test rax, rax
jne 0x140010d04
xor ecx, ecx
call fcn.14000c794
jmp 0x140010ce0
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.140010b78
test eax, eax
jne 0x140010d35
mov rcx, rdi
call fcn.14000c794
jmp 0x140010d3f
xor ecx, ecx
call fcn.14000c794
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 0x140014fec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140015002
mov al, 1
jmp 0x140015062
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140015013
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140015060
mov ecx, dword [rcx + 0x18]
nop
call fcn.140011578
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140015060
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140015060
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140015060
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140015062
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400160a0
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.14000fc48
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001612a
cmp byte [rbp - 0x21], r15b
je 0x140016125
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140016160
call fcn.14000c9e4
test eax, eax
jne 0x14001614c
cmp byte [rbp - 0x21], r15b
je 0x140016144
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140016160
cmp byte [rbp - 0x21], r15b
je 0x14001615d
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.14000f228
test eax, eax
jne 0x140016200
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000fc48
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001619f
cmp byte [rbp - 0x21], r15b
je 0x1400161d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400161d4
call fcn.14000c9e4
test eax, eax
jne 0x1400161c0
cmp byte [rbp - 0x21], r15b
je 0x1400161b9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400161d4
cmp byte [rbp - 0x21], r15b
je 0x1400161d1
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.14000f228
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140016200
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140016203
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140016211
mov rcx, rdi
call fcn.14000c794
cmp byte [rbp + 0x3f], r15b
je 0x140016220
mov rcx, qword [rbp + 0x27]
call fcn.14000c794
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 0x140018790
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400187b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400187b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400197e8
Capabilities:
Parse pe header

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

Function at 0x14001e4a0
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 0x14001e50f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001e50f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001e50f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001e50f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001e50f
cmp dword [rcx + 0x84], 0xe
jbe 0x14001e50f
cmp dword [rcx + 0xf8], 0
je 0x14001e50f
mov ecx, ebx
call fcn.14001e5b4
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.14001e3a8
nop
cmp dword [rbp + 0x20], 0
jne 0x14001e570
call fcn.140027c30
cmp eax, 1
jne 0x14001e560
xor dl, dl
jmp 0x14001e56a
call fcn.140027bfc
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14001e57b
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001e584
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001e4a0

Function at 0x14001e688
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 0x14001e50f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001e50f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001e50f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001e50f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001e50f
cmp dword [rcx + 0x84], 0xe
jbe 0x14001e50f
cmp dword [rcx + 0xf8], 0
je 0x14001e50f
mov ecx, ebx
call fcn.14001e5b4
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.14001e3a8
nop
cmp dword [rbp + 0x20], 0
jne 0x14001e570
call fcn.140027c30
cmp eax, 1
jne 0x14001e560
xor dl, dl
jmp 0x14001e56a
call fcn.140027bfc
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14001e57b
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001e584
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001e4a0
Function at 0x14002b180
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140043050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x14002b1e5
test rax, rax
jne 0x14002b1d3
lea r9, [0x1400084f0]
lea r8, [0x1400084e8]
lea rdx, [0x1400084f0]
lea ecx, [rax + 0xa]
call fcn.14002ad90
test rax, rax
je 0x14002b1e5
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140038640
jmp 0x14002b1ff
xor edx, edx
mov rcx, rbp
call fcn.14002b470
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret