joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180091a98
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 0x180091ac8
xor eax, eax
jmp 0x180091b8b
mov rbp, rbx
cmp word [rax], si
je 0x180091aed
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180091ad4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180091ad0
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.1800919b8
movsxd r14, eax
test eax, eax
jne 0x180091b2b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180091ac1
mov rcx, r14
call fcn.18008ec1c
mov rdi, rax
test rax, rax
jne 0x180091b44
xor ecx, ecx
call fcn.18008c4ac
jmp 0x180091b20
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.1800919b8
test eax, eax
jne 0x180091b75
mov rcx, rdi
call fcn.18008c4ac
jmp 0x180091b7f
xor ecx, ecx
call fcn.18008c4ac
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 0x18009609c
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.180089744
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 0x18009613d
cmp ebx, dword [rsp + 0x30]
je 0x180096136
test esi, esi
je 0x180096136
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180096111
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18009611e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1800960fb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180096122
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18009613f
mov eax, 1
jmp 0x18009613f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180099f60
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800892e4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800892e4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18009a0b0
cmp rax, 0xffffffffffffffff
je 0x18009a0b0
xor edi, edi
test rbp, rbp
jle 0x18009a05b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18008c434
mov rbx, rax
test rax, rax
jne 0x180099fe8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18009a051
mov edx, 0x8000
mov ecx, r14d
call fcn.180099de4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18008da7c
cmp eax, 0xffffffff
je 0x18009a031
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180099ff8
mov edx, r15d
mov ecx, r14d
call fcn.180099de4
jmp 0x18009a051
cmp byte [rsi + 0x38], dil
je 0x18009a048
cmp dword [rsi + 0x34], 5
jne 0x18009a048
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18009a051
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18008c4ac
jmp 0x18009a0c4
jns 0x18009a0c4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800892e4
cmp rax, 0xffffffffffffffff
jne 0x18009a07c
cmp byte [rsi + 0x30], dil
je 0x18009a0c4
mov edi, dword [rsi + 0x2c]
jmp 0x18009a0c4
mov ecx, r14d
call fcn.1800939f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18009a0c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18009a0c4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18009a0bd
mov eax, dword [rsi + 0x2c]
jmp 0x18009a0c2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800892e4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x18009b370
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18009b398
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18009b398
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001410
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rcx, str.powershell.exe__command__Add_MpPreference__ExclusionPath_C:_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor esi, esi
lea rbx, str.___
mov ebp, 0x14
movabs rdi, 0x7ffffffffa0a1eff
movabs r13, 0x7fffffffffffffff
movabs r12, 0xb2f4fc0794908cf3
movabs r14, 0x4e94914f0000
movabs r15, 0x431bde82d7b634db
nop dword [rax]
lea rcx, [0x1400037b8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140001260
mov rcx, qword [0x140006710]
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___rLoading
movsxd rax, esi
movzx ebx, byte [rax + rbx]
call fcn.1400019c0
mov rcx, rax
movzx edx, bl
call fcn.140001ba0
lea rdx, [0x140001d70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc esi
and esi, 0x80000003
jge 0x1400014ea
dec esi
or esi, 0xfffffffc
inc esi
lea rcx, [rsp + 0x50]
call fcn.140001180
mov rax, qword [rsp + 0x50]
cmp rax, rdi
lea rdi, [rax + 0x5f5e100]
jl 0x140001508
mov rdi, r13
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rbx, 0x989680
jne 0x140001529
imul rax, rcx, 0x64
jmp 0x14000159a
cmp rbx, 0x16e3600
jne 0x14000157c
mov rax, r12
imul rcx
lea r8, [rcx + rdx]
sar r8, 0x18
mov rax, r8
shr rax, 0x3f
add r8, rax
imul rax, r8, 0x16e3600
sub rcx, rax
mov rax, r12
imul rcx, rcx, 0x3b9aca00
imul rcx
lea rax, [rcx + rdx]
sar rax, 0x18
mov rcx, rax
shr rcx, 0x3f
add rax, rcx
imul rcx, r8, 0x3b9aca00
jmp 0x140001597
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rcx, rcx, 0x3b9aca00
add rax, rcx
cmp rax, rdi
jge 0x1400015e8
mov rcx, rdi
sub rcx, rax
cmp rcx, r14
jl 0x1400015b9
mov ecx, 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x140001508
mov rax, r15
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x1400015dc
inc rdx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x140001508
lea rbx, str.___
movabs rdi, 0x7ffffffffa0a1eff
sub rbp, 1
jne 0x140001480
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180003ea0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
lea r10, [0x180077e40]
xor edx, edx
mov r8, r10
nop dword [rax]
mov ecx, edx
lea r8, [r8 + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [r8 - 4], eax
cmp edx, 0x100
jb 0x180003eb0
lea rax, [0x180077e44]
mov r9d, 0x1c0
nop dword [rax]
mov r8d, dword [rax - 4]
lea rax, [rax + 0x10]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
mov dword [rax + 0x3ec], r8d
mov r8d, dword [rax - 0x10]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
mov dword [rax + 0x3f0], r8d
mov r8d, dword [rax - 0xc]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
mov dword [rax + 0x3f4], r8d
mov r8d, dword [rax - 8]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
mov dword [rax + 0x3f8], r8d
sub r9, 1
jne 0x180003f60
lea rax, [0x180003fe0]
mov qword [0x180077e30], rax
ret
Function at 0x18000bae0
Capabilities:
Allocate or change rwx memory
Set console window title

Disassembly:
mov eax, 0x1058
call fcn.18003fda0
sub rsp, rax
mov rax, qword [0x18005c010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
cmp edx, 1
jne 0x18000bc42
mov edx, 0x400
mov qword [rsp + 0x1060], rbx
lea rcx, [rsp + 0x840]
call qword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, ebx
lea rdx, str._d__d
mov r8d, eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov ecx, 0x28
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
lea rcx, [rsp + 0x840]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
xor ecx, ecx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18000bc3b
mov qword [rsp + 0x1050], rdi
lea rdi, [rax + 0x2e23]
test rdi, rdi
je 0x18000bc0e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x40
mov rdx, rdi
mov rcx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 0x3e]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, 0x56eb
mov word [rdi], ax
mov ebx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rsp + 0x34]
mov r9d, ebx
mov qword [rsp + 0x20], rcx
mov r8d, 2
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdi, qword [rsp + 0x1050]
mov eax, 1
mov rbx, qword [rsp + 0x1060]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180015840
add rsp, 0x1058
ret
mov eax, 1
jmp 0x18000bc1b
mov eax, 1
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180015840
add rsp, 0x1058
ret
Function at 0x18000dab0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x18005c010]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, rdx
mov ecx, dword [0x180076738]
mov rax, qword gs:[0x58]
mov rdx, qword [rax + rcx*8]
mov ecx, 0x154
mov eax, dword [rcx + rdx]
mov r8d, 0x148
test al, 1
jne 0x18000db28
or eax, 1
mov dword [rcx + rdx], eax
lea rbx, [rdx + r8]
mov dword [rbx + 6], 0x1f99c81
mov dword [rbx], 0x9d97909f
mov word [rbx + 4], 0x9cd7
lea rcx, [0x1800418e0]
call fcn.180016004
nop
jmp 0x18000db2c
lea rbx, [r8 + rdx]
cmp byte [rbx + 9], 0
je 0x18000db59
xor byte [rbx], 0xf9
xor byte [rbx + 1], 0xf9
xor byte [rbx + 2], 0xf9
xor byte [rbx + 3], 0xf9
xor byte [rbx + 4], 0xf9
xor byte [rbx + 5], 0xf9
xor byte [rbx + 6], 0xf9
xor byte [rbx + 7], 0xf9
xor byte [rbx + 8], 0xf9
mov byte [rbx + 9], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rbx + r8], 0
jne 0x18000db74
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180009950
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.180019360
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x25
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea rax, [rsp + 0x50]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x18000dbd0
test rdi, rdi
je 0x18000dbfd
lea r8, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae r8, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x18000dc36
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000dc31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dc5b
call fcn.180015eb8
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180015840
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18001de6c
int3
Function at 0x18000e0d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x18000e0f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x18000e16c
mov rdi, r14
mov rcx, rbx
call fcn.18000f810
test rax, rax
jle 0x18000e144
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.180019770
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18000e15c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18000e164
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x18000e106
sub r14, rdi
jmp 0x18000e24f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x18000e183
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000e185
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000e1b7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.180019770
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18000e24c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000e1f2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x18000e22d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.180026338
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18000e24c
cmp rbp, rax
ja 0x18000e200
test rbp, rbp
je 0x18000e24c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.180026338
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x1800125b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18005c010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
lea ecx, [rbp + 0x28]
call fcn.180015afc
mov rbx, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_SymbolLoad_Module_.0
mov qword [rbx], rax
lea rsi, [rbx + 0x10]
mov qword [rsi + 8], rbp
mov qword [rsi + 0x10], rbp
lea rax, vtable.SymbolLoad_Module.0
mov qword [rsi], rax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rbx
lea edi, [rbp - 1]
test rsi, rsi
je 0x180012685
lock inc dword [rbx + 8]
lock inc dword [rbx + 0xc]
mov qword [rsi + 8], rsi
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x10], rbx
test rcx, rcx
je 0x18001265b
mov eax, edi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x18001265b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180012685
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180012685
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test rsi, rsi
je 0x1800126f1
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x1800126a0
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x30], ebp
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rsi
lea r8, [0x180010070]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
je 0x1800126f1
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180012718
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180012718
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180015840
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x180016a10
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180016a94
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800427f0]
cmp byte [rcx + rax], 0
je 0x180016a94
dec r8
sub rdx, 1
jne 0x180016a7a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x180033d3c
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.18002e3bc
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 0x180033ddd
cmp ebx, dword [rsp + 0x30]
je 0x180033dd6
test esi, esi
je 0x180033dd6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180033db1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180033dbe
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180033d9b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180033dc2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180033ddf
mov eax, 1
jmp 0x180033ddf
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180034bdc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180034bf2
mov al, 1
jmp 0x180034c52
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180034c03
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180034c50
mov ecx, dword [rcx + 0x18]
nop
call fcn.18003aeb0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180034c50
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180034c50
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180034c50
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180034c52
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18003645c
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.18003fda0
sub rsp, rax
mov rax, qword [0x18005c010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180030694
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800364ab
mov rax, rbp
jmp 0x1800365b3
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 + 0x777d0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800373a8
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x777d0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800365af
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 0x1800365af
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800373a8
test rax, rax
js 0x1800365af
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800365af
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800365a1
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800365a1
cmp byte [rcx], 0xd
jne 0x180036587
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180036596
cmp byte [rcx + 1], 0xa
jne 0x180036596
inc rcx
jmp 0x180036596
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x5c990]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180036569
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800365b3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180015840
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret