joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002650
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 0x140002697
xor al, al
jmp 0x140002739
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 0x1400026c1
xor al, al
jmp 0x140002739
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 0x140002731
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 0x140002731
mov al, 1
jmp 0x140002739
jmp 0x140002737
xor al, al
add rsp, 0x78
ret

Function at 0x140002a40
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400080f0]
mov qword [rsp + 0x28], rax
jmp 0x140002a60
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140002a8f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x140002a8d
call sub.KERNEL32.dll_GetLastError
jmp 0x140002a91
jmp 0x140002a52
xor eax, eax
add rsp, 0x38
ret
Function at 0x140003150
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x140008108], eax
je 0x14000317d
mov eax, 0x10dd
jmp 0x140003396
cmp dword [0x14000810c], 0
je 0x140003191
mov eax, dword [0x14000810c]
jmp 0x140003396
cmp qword [rsp + 0x78], 0
jne 0x1400031a3
mov eax, 0x57
jmp 0x140003396
cmp qword [rsp + 0x70], 0
jne 0x1400031b5
mov eax, 6
jmp 0x140003396
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1400031e7
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x14000810c], eax
mov rax, qword [rsp + 0x70]
mov qword [0x140008110], rax
mov eax, dword [rsp + 0x20]
jmp 0x140003396
mov ecx, 0x30
call fcn.1400051a4
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140003259
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x14000810c], eax
cmp qword [rsp + 0x30], 0
je 0x140003244
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.1400051e0
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x140008110], rax
mov eax, dword [rsp + 0x20]
jmp 0x140003396
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.140003120
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.140003120
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x1400032b6
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x1400032d3
mov dword [rsp + 0x20], 9
cmp dword [0x140008100], 0
je 0x1400032ce
jmp 0x14000321a
jmp 0x140003210
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x140003300
mov dword [rsp + 0x20], 9
cmp dword [0x140008100], 0
je 0x1400032fb
jmp 0x14000321a
jmp 0x140003210
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x140003337
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x140003210
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x140008120]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x140008120], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x1400033a0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x140008108], eax
je 0x1400033bb
mov eax, 0x10dd
jmp 0x1400034e0
mov rax, qword [0x140008120]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140003465
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
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x140003430
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x140003430
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.140001da0
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.1400051e0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1400033c7
mov qword [0x140008120], 0
call fcn.140002800
mov rax, qword [0x140008118]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400034c9
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.1400051e0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x140003481
mov qword [0x140008118], 0
mov dword [0x140008108], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x140003a10
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x14000810c], 0
je 0x140003a2d
mov eax, dword [0x14000810c]
jmp 0x140003af3
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x140003a40
xor eax, eax
jmp 0x140003af3
mov ecx, 0x10
call fcn.1400051a4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140003aae
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x140003a93
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.1400051e0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x14000810c], eax
mov qword [0x140008110], 0
mov eax, dword [rsp + 0x20]
jmp 0x140003af3
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x140003ac8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x140003a69
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x140008118]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x140008118], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400058a4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400058ee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400058ee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400058ee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400058ee
cmp dword [rcx + 0x84], 0xe
jbe 0x1400058ee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400058f0
xor al, al
add rsp, 0x28
ret
Function at 0x18005ab74
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x18005aba2
xor eax, eax
jmp 0x18005ac88
cmp qword [rcx + 0x68], 0
je 0x18005abb3
call fcn.18005a2f0
jmp 0x18005ac88
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18005abca
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18005abcc
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18005abfe
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1800756a0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x18005ac82
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x18005ac35
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18005ac5e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.180060f28
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x18005ac82
cmp rsi, rbx
ja 0x18005ac3c
test rsi, rsi
je 0x18005ac82
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180060f28
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x18005ed14
Capabilities:
Parse pe header

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

Function at 0x180062180
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800591b0
sub rsp, rax
mov rax, qword [0x1800fba40]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18006a48c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18006b47b
mov rax, rbp
jmp 0x18006b583
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xfe3a0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18006b15c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xfe3a0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18006b57f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18006b57f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18006b15c
test rax, rax
js 0x18006b57f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18006b57f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18006b571
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18006b571
cmp byte [rcx], 0xd
jne 0x18006b557
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18006b566
cmp byte [rcx + 1], 0xa
jne 0x18006b566
inc rcx
jmp 0x18006b566
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xfc560]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18006b539
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18006b583
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180059210
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18006b914
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 0x18006b944
xor eax, eax
jmp 0x18006ba07
mov rbp, rbx
cmp word [rax], si
je 0x18006b969
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18006b950
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18006b94c
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.180065834
movsxd r14, eax
test eax, eax
jne 0x18006b9a7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18006b93d
mov rcx, r14
call fcn.180065744
mov rdi, rax
test rax, rax
jne 0x18006b9c0
xor ecx, ecx
call fcn.180065708
jmp 0x18006b99c
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.180065834
test eax, eax
jne 0x18006b9f1
mov rcx, rdi
call fcn.180065708
jmp 0x18006b9fb
xor ecx, ecx
call fcn.180065708
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 0x18006cbfc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18006cc12
mov al, 1
jmp 0x18006cc72
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18006cc23
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18006cc70
mov ecx, dword [rcx + 0x18]
nop
call fcn.180072f84
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18006cc70
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18006cc70
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18006cc70
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18006cc72
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18006d5a8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800fe3a0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18006d5ff
cmp word [rdx], r13w
jne 0x18006d5ff
or byte [rax + rdi*8 + 0x38], cl
jmp 0x18006d604
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18006d729
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18006d74a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18006d63d
mov rdx, r9
mov word [rbx], cx
jmp 0x18006d664
cmp r9, r8
jae 0x18006d674
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x18006d61e
jmp 0x18006d729
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18006d71e
cmp dword [rsp + 0x80], esi
je 0x18006d71e
lea r8, [0x1800fe3a0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18006d6f6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18006d6c6
mov word [rbx], r13w
jmp 0x18006d726
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x18006d6d3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18006d726
cmp word [rsp + 0x70], r13w
jne 0x18006d703
cmp rbx, r14
je 0x18006d6c0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18006b0b8
cmp word [rsp + 0x70], r13w
je 0x18006d729
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800fe3a0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18006d723
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18006d729
Function at 0x180072b10
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180065974
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180072bb1
cmp ebx, dword [rsp + 0x30]
je 0x180072baa
test esi, esi
je 0x180072baa
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180072b85
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180072b92
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180072b6f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180072b96
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180072bb3
mov eax, 1
jmp 0x180072bb3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140012960
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140012aeb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x1400d2028]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.14002d0a0
xorps xmm15, xmm15
mov r14, qword [0x1401c2360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x1400129c5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x1400129d4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x1400129f3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x140012a03
cmp rbx, 0x1000
jae 0x1400129cb
jmp 0x140012a6d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x140012a15
xor edx, edx
jmp 0x140012a64
mov rcx, qword [0x1400d2028]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.14002d0a0
xorps xmm15, xmm15
mov r14, qword [0x1401c2360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x1400129f9
jmp 0x1400129e8
call fcn.14005b860
xorps xmm15, xmm15
mov r14, qword [0x1401c2360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.1400314a0
lea rax, [0x1400f3081]
mov ebx, 0x18
nop dword [rax]
call fcn.140031d20
mov rax, qword [rsp + 0x38]
call fcn.140031a60
lea rax, [0x1400f3347]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.140031d20
mov rax, qword [rsp + 0x30]
call fcn.140031a60
call fcn.1400316e0
call fcn.140031500
lea rax, [0x1400f4b52]
mov ebx, 0x21
call fcn.14002fb00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140057ca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140012960
Function at 0x140012b20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140012d46
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x1400d2020]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.14002d120
xorps xmm15, xmm15
mov r14, qword [0x1401c2360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x140012b93
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x140012ba2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x140012bc5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x140012bd5
cmp rbx, 0x1000
jae 0x140012b99
nop
jmp 0x140012c58
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x140012bed
xor esi, esi
jmp 0x140012c4a
mov rax, qword [0x1400d2020]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.14002d120
xorps xmm15, xmm15
mov r14, qword [0x1401c2360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x140012bcb
jmp 0x140012bb6
call fcn.14005b860
xorps xmm15, xmm15
mov r14, qword [0x1401c2360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x140012ce0
nop dword [rax + rax]
call fcn.1400314a0
lea rax, [0x1400f3360]
mov ebx, 0x19
call fcn.140031d20
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.140031a60
lea rax, [0x1400f3347]
mov ebx, 0x19
call fcn.140031d20
mov eax, dword [rsp + 0x34]
call fcn.140031a60
nop
call fcn.1400316e0
call fcn.140031500
lea rax, [0x1400f1106]
mov ebx, 0xd
call fcn.14002fb00
nop dword [rax + rax]
cmp eax, 0x5af
je 0x140012c80
call fcn.1400314a0
lea rax, [0x1400f3360]
mov ebx, 0x19
call fcn.140031d20
mov rax, qword [rsp + 0x38]
call fcn.140031a60
lea rax, [0x1400f3347]
mov ebx, 0x19
call fcn.140031d20
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.140031a60
call fcn.1400316e0
call fcn.140031500
lea rax, [0x1400f4554]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.14002fb00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140057ca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.140012b20