joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011221
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x140011860
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x1400240ac]
call fcn.1400113b6
nop
mov rax, qword gs:[0x60]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
add rax, 0x20
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x68], rax
je 0x14001192c
mov rdx, qword [rbp + 0x68]
lea rcx, str.___Current_Position:__p_n
call fcn.1400111bd
nop
mov rax, qword [rbp + 0x68]
sub rax, 0x10
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
movzx eax, word [rax + 0x48]
test rax, rax
je 0x14001191d
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax + 0x50]
call fcn.14001114a
mov rdx, qword [rbp + 0x180]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x14001191b
mov rax, qword [rbp + 0x88]
mov rax, qword [rax + 0x30]
jmp 0x14001192e
jmp 0x14001191f
jmp 0x14001192c
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
jmp 0x1400118b0
xor eax, eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x140011226
Capabilities:
Terminate process

Disassembly:
jmp 0x140012af0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400112ad
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015270
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015290
xor al, al
jmp 0x140015311
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400152a3
xor al, al
jmp 0x140015311
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 0x1400152cd
xor al, al
jmp 0x140015311
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400152e1
xor al, al
jmp 0x140015311
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400152f3
xor al, al
jmp 0x140015311
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001530f
xor al, al
jmp 0x140015311
mov al, 1
add rsp, 0x38
ret
Function at 0x1400136b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113de
movzx eax, al
test eax, eax
jne 0x1400136d0
mov ecx, 7
call fcn.140011348
nop
mov byte [rsp + 0x20], 0
call fcn.140011361
mov byte [rsp + 0x21], al
cmp dword [0x14001fa60], 1
jne 0x1400136f4
mov ecx, 7
call fcn.140011348
nop
jmp 0x14001374c
cmp dword [0x14001fa60], 0
jne 0x140013747
mov dword [0x14001fa60], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111c2
test eax, eax
je 0x140013728
mov eax, 0xff
jmp 0x140013851
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.140011357
mov dword [0x14001fa60], 2
jmp 0x14001374c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011334
call fcn.1400112d0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400137a9
mov rcx, qword [rsp + 0x30]
call fcn.140011172
movzx eax, al
test eax, eax
je 0x1400137a9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140025020]
nop
call fcn.140011302
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400137dd
mov rcx, qword [rsp + 0x38]
call fcn.140011172
movzx eax, al
test eax, eax
je 0x1400137dd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011398
nop
call fcn.140013900
mov dword [rsp + 0x28], eax
call fcn.1400112ad
movzx eax, al
test eax, eax
jne 0x1400137fc
mov ecx, dword [rsp + 0x28]
call fcn.14001105f
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001380b
call fcn.1400113a7
nop
xor edx, edx
mov cl, 1
call fcn.14001115e
mov eax, dword [rsp + 0x28]
jmp 0x140013851
add rsp, 0x68
ret
Function at 0x18000b6d0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
ret

Function at 0x18000ca44
Capabilities:
Parse pe header

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

Function at 0x18000d670
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18000d698
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18000d698
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180011af0
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 0x180011b20
xor eax, eax
jmp 0x180011be3
mov rbp, rbx
cmp word [rax], si
je 0x180011b45
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180011b2c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180011b28
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.180011a10
movsxd r14, eax
test eax, eax
jne 0x180011b83
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180011b19
mov rcx, r14
call fcn.180011f3c
mov rdi, rax
test rax, rax
jne 0x180011b9c
xor ecx, ecx
call fcn.18000f614
jmp 0x180011b78
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.180011a10
test eax, eax
jne 0x180011bcd
mov rcx, rdi
call fcn.18000f614
jmp 0x180011bd7
xor ecx, ecx
call fcn.18000f614
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 0x140001bc8
Capabilities:
Parse pe header

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

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x140001e50
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x50], eax
mov edx, dword [rsp + 0x50]
lea rcx, str.RegOpenKeyExA:__lx_n
call fcn.140005f80
nop
cmp dword [rsp + 0x50], 0
je 0x140001eed
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140001f0f
mov edx, dword [rsp + 0x50]
lea rcx, str.RegCreateKeyExA:__lx_n
call fcn.140005f80
mov ecx, 2
call fcn.14000e71c
nop
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x50], eax
mov edx, dword [rsp + 0x50]
lea rcx, str.RegSetValueExA:__lx_n
call fcn.140005f80
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
add rsp, 0x68
ret

Function at 0x140002080
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140002124
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp dword [rsp + 0x30], 0
jne 0x140002124
cmp dword [rsp + 0x34], 4
jne 0x140002124
mov al, 1
jmp 0x140002126
xor al, al
add rsp, 0x58
ret

Function at 0x140002180
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor r9d, r9d
mov r8d, pe_nt_image_headers64
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400021c6
mov edx, dword [rsp + 0x20]
lea rcx, str.Failed_to_delete_registry_key._Error_code:__ld_n
call fcn.140005f80
xor al, al
jmp 0x1400021c8
mov al, 1
add rsp, 0x38
ret
Function at 0x1400021e0
Capabilities:
Enumerate processes

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x178
mov rax, qword [0x14002a040]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x20], 0xffffffff
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x14000226f
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140002263
mov eax, dword [rsp + 0x180]
cmp dword [rsp + 0x38], eax
jne 0x140002250
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
jmp 0x140002263
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140002239
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400063e0
add rsp, 0x178
ret

Function at 0x140006e6c
Capabilities:
Parse pe header

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

Function at 0x14000e518
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 0x14000e587
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e587
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000e587
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000e587
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000e587
cmp dword [rcx + 0x84], 0xe
jbe 0x14000e587
cmp dword [rcx + 0xf8], 0
je 0x14000e587
mov ecx, ebx
call fcn.14000e638
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.14000e414
nop
cmp dword [rbp + 0x20], 0
je 0x14000e5d5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000e5e0
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000e518
Function at 0x14000e71c
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 0x14000e587
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e587
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000e587
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000e587
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000e587
cmp dword [rcx + 0x84], 0xe
jbe 0x14000e587
cmp dword [rcx + 0xf8], 0
je 0x14000e587
mov ecx, ebx
call fcn.14000e638
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.14000e414
nop
cmp dword [rbp + 0x20], 0
je 0x14000e5d5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000e5e0
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000e518
Function at 0x14001493c
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 0x14001496c
xor eax, eax
jmp 0x140014a2f
mov rbp, rbx
cmp word [rax], si
je 0x140014991
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140014978
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140014974
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.14001485c
movsxd r14, eax
test eax, eax
jne 0x1400149cf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140014965
mov rcx, r14
call fcn.140011434
mov rdi, rax
test rax, rax
jne 0x1400149e8
xor ecx, ecx
call fcn.1400107bc
jmp 0x1400149c4
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.14001485c
test eax, eax
jne 0x140014a19
mov rcx, rdi
call fcn.1400107bc
jmp 0x140014a23
xor ecx, ecx
call fcn.1400107bc
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 0x140018bbc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140018bd2
mov al, 1
jmp 0x140018c32
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140018be3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140018c30
mov ecx, dword [rcx + 0x18]
nop
call fcn.140015140
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140018c30
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140018c30
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140018c30
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140018c32
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001a0f8
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.140012cb0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001a182
cmp byte [rbp - 0x21], r15b
je 0x14001a17d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001a1b8
call fcn.140010a0c
test eax, eax
jne 0x14001a1a4
cmp byte [rbp - 0x21], r15b
je 0x14001a19c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001a1b8
cmp byte [rbp - 0x21], r15b
je 0x14001a1b5
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.140012f80
test eax, eax
jne 0x14001a258
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140012cb0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001a1f7
cmp byte [rbp - 0x21], r15b
je 0x14001a22c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001a22c
call fcn.140010a0c
test eax, eax
jne 0x14001a218
cmp byte [rbp - 0x21], r15b
je 0x14001a211
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001a22c
cmp byte [rbp - 0x21], r15b
je 0x14001a229
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.140012f80
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001a258
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001a25b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001a269
mov rcx, rdi
call fcn.1400107bc
cmp byte [rbp + 0x3f], r15b
je 0x14001a278
mov rcx, qword [rbp + 0x27]
call fcn.1400107bc
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 0x14001c250
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001c278
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001c278
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003ca0
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 0x140003cfd
lea rbx, [0x14013de30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003ce4
cmp r10, 2
jb 0x140003ce4
cmp byte [r9], r8b
jne 0x140003ce4
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 0x140003cc0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003d3f
lea rbx, [0x14013de30]
cmp r8b, 0x23
jne 0x140003d23
cmp byte [r9], r8b
jne 0x140003d23
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 0x140003d10
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003e40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140003e6f
mov r8d, 0x811
lea rdx, str.D:C_ProjectFIX_199ximgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
je 0x140003e7b
mov qword [rsi], 0
lea rdx, [0x14013d638]
mov rcx, rbx
call fcn.140003d50
mov rbx, rax
test rax, rax
jne 0x140003e9d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003f79
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 0x140003f79
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003f79
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003f79
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x140003f79
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov rax, qword [0x140216dc0]
test rax, rax
je 0x140003f22
inc dword [rax + 0xf0]
test rdi, rdi
je 0x140003f79
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x140003f66
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140216dc0]
test rax, rax
je 0x140003f5b
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003f82
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140003f74
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140003f84
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret