joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f9a0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x710
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x700], rax
mov rdi, rcx
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea r8, [0x140039c98]
mov edx, 0x104
lea rcx, [rsp + 0x4f0]
call fcn.14000f6a0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000fb34
nop word [rax + rax]
lea rax, [rsp + 0xbc]
mov r9, rdi
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x2e0]
call fcn.14000f6a0
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14000fb12
mov rax, qword [rsp + 0x74]
lea rdx, str.Glorious_Core
lea rcx, [rsp + 0x2e0]
mov qword [rsp + 0x40], rax
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14000fa86
lea rcx, str.____Glorious_software_detected._Open_the_Glorious_Core_program_and_check_if_any_button_click_contains_a_macro._If_so__ban_the_player._n
call fcn.140006810
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x14000faff
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x14000faf6
movzx ecx, word [rsp + 0x5a]
movzx edx, word [rsp + 0x58]
movzx eax, word [rsp + 0x5c]
movzx r10d, word [rsp + 0x56]
movzx r9d, word [rsp + 0x52]
movzx r8d, word [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, str.____Macro_file_detected._Modification_time_of__s:__d__d__d__d:_d:_d._Ban_the_player_if_this_modification_time_is_just_after_the_tike_you_freezed_the_player._n
mov dword [rsp + 0x28], edx
lea rdx, [rsp + 0x2e0]
mov dword [rsp + 0x20], r10d
call fcn.140006810
jmp 0x14000fb12
lea rdx, str.Failed_to_convert_file_time_to_system_time._n
jmp 0x14000fb06
lea rdx, str.Failed_to_convert_file_time_to_local_time._n
lea rcx, str.Error_ocurred_while_checking_macro_files:__s_n
call fcn.140006810
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000fa10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.1400332e0
mov rbx, qword [rsp + 0x730]
add rsp, 0x710
pop rdi
ret
Function at 0x14001cff0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x14001d021
xor eax, eax
jmp 0x14001d16b
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14001d05e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x14001d05e
lea ecx, [r10 - 1]
movzx eax, di
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], di
jmp 0x14001d16b
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x14001d160
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14001d0a5
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14001d0b3
movzx ecx, di
jmp 0x14001d107
lea rax, [rsp + 0x48]
mov word [rsp + 0x40], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x42]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14001d120
sub eax, 1
je 0x14001d120
cmp eax, 2
jne 0x14001d160
movzx ecx, word [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, si
cmove di, si
movzx eax, di
jmp 0x14001d163
mov rbp, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x14001d14e
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x14001d160
lea rax, [rsp + 0x40]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x50], rax
cmovne si, di
movzx eax, si
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400332e0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001d390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x14001d3d4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001d3c0
ret
Function at 0x14001d7d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14001d8a5
cmp byte [rcx + 0x72], 0
je 0x14001d8a5
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x14001d8a1
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14001d866
sub eax, 1
je 0x14001d86a
cmp eax, 2
jne 0x14001d8a1
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400332e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14001d898
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14001d8a1
cmp byte [rbx + 0x72], 0
sete al
jmp 0x14001d84e
xor al, al
jmp 0x14001d84e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400332e0
add rsp, 0x60
pop rbx
ret
Function at 0x140024c30
Capabilities:
Enumerate files on windows
Enumerate processes
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x730
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x720], rax
xor edx, edx
mov rbp, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140024df1
mov qword [rsp + 0x748], rbx
mov qword [rsp + 0x750], rdi
nop
mov rdx, rbp
lea rcx, [rsp + 0x8c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140024dcb
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140024dcb
lea rax, [rsp + 0x40]
mov rcx, rdi
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x140024dc2
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov r8d, 0x104
lea rdx, [rsp + 0x510]
lea rcx, str._appdata_.minecraftmods.jar
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x140024dc2
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x510]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140024dc2
test byte [rsp + 0x2c0], 0x10
jne 0x140024da4
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x2d4]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x2d4]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x140024da4
lea rdx, [rsp + 0x2ec]
lea rcx, str.____Suspicious_mod_found:__s._Analyze_it_with_Bintext._n
call fcn.140006810
lea rdx, [rsp + 0x2c0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140024d46
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140024c90
mov rdi, qword [rsp + 0x750]
mov rbx, qword [rsp + 0x748]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x720]
xor rcx, rsp
call fcn.1400332e0
mov rbp, qword [rsp + 0x758]
add rsp, 0x730
pop rsi
ret
Function at 0x140025bb0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r8, [rsp + 0x3c]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
xor eax, eax
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x44], 2
mov qword [rsp + 0x20], rax
lea r9d, [rax + 0x10]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400332e0
add rsp, 0x58
ret
Function at 0x14002a450
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push r14
push r15
sub rsp, 0x468
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rsi, r8
mov r14, rdx
mov rbp, rcx
xor r15d, r15d
mov dword [r8], r15d
mov edx, 0x400
mov r8, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x14002a638
mov qword [rsp + 0x4a8], rbx
mov qword [rsp + 0x460], rdi
nop dword [rax + rax]
lea rdx, str.Rename:
lea rcx, [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14002a60c
movsxd rdx, dword [rsi]
mov rcx, qword [r14]
lea rdx, [rdx*8 + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14002a656
mov ecx, 0x800
mov qword [r14], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [r14]
movsxd rdx, dword [rsi]
mov qword [rcx + rdx*8], rax
movsxd rcx, dword [rsi]
mov rax, qword [r14]
cmp qword [rax + rcx*8], r15
je 0x14002a656
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x30], r15
mov edi, 1
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
nop dword [rax]
mov rcx, qword [rbx - 8]
mov edx, 0x2c
inc rcx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov qword [rbx], rax
test rax, rax
je 0x14002a565
inc edi
add rbx, 8
cmp edi, 6
jl 0x14002a540
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x14002a60c
movsxd rax, dword [rsi]
lea r8, [rdi + 2]
mov rcx, qword [r14]
mov r9, rdi
sub r9, qword [rsp + 0x40]
mov edx, 0x400
inc r9
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
movsxd rcx, dword [rsi]
mov rax, qword [r14]
mov rdx, qword [rax + rcx*8]
sub rdx, qword [rsp + 0x40]
mov byte [rdx + rdi], r15b
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x14002a60c
mov rbx, qword [rsp + 0x28]
mov rax, rdi
sub rax, rbx
mov r9, r15
dec rax
test rbx, rbx
lea r8, [rbx + 1]
cmovne r9, rax
jne 0x14002a5d9
lea r8, [0x14003e688]
movsxd rcx, dword [rsi]
mov edx, 0x400
mov rax, qword [r14]
mov rcx, qword [rax + rcx*8]
add rcx, 0x400
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
movsxd rcx, dword [rsi]
mov rax, qword [r14]
mov rdx, qword [rax + rcx*8]
sub rdx, rbx
mov byte [rdx + rdi + 0x3ff], r15b
inc dword [rsi]
mov r8, rbp
lea rcx, [rsp + 0x50]
mov edx, 0x400
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x14002a4b0
mov rbx, qword [rsp + 0x4a8]
mov rdi, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400332e0
add rsp, 0x468
pop r15
pop r14
pop rsi
pop rbp
ret
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14002b5b0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rsp + 0x30], 1
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, ebp
nop
bt esi, edi
jae 0x14002b739
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
xor r8d, r8d
lea rdx, [0x14003c110]
lea rcx, [rsp + 0x40]
call fcn.140003930
nop
lea r9d, [rdi + 0x41]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jae 0x14002b667
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 7
cmova rax, qword [rsp + 0x40]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], bp
jmp 0x14002b671
lea rcx, [rsp + 0x40]
call fcn.14000e3d0
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x14002b6ad
lea rax, [rcx + 2]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 7
cmova rax, qword [rsp + 0x40]
mov dword [rax + rcx*2], 0x5c003a
mov word [rax + rcx*2 + 4], bp
jmp 0x14002b6cc
mov qword [rsp + 0x20], 2
lea r9, [0x140038824]
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140005f60
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x14002b6ea
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140002ee0
add qword [rbx + 8], 0x20
jmp 0x14002b6fb
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, rbx
call fcn.140009c50
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14002b739
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b734
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b76a
call fcn.140033300
inc edi
cmp edi, 0x1a
jl 0x14002b600
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400332e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14002e380
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x12c
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x20], 0x130
xor sil, sil
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14002e3dc
xor al, al
jmp 0x14002e43b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14002e42e
nop
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14002e413
inc rax
test ecx, ecx
jne 0x14002e400
test edx, edx
je 0x14002e42b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14002e3f0
jmp 0x14002e42e
mov sil, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400332e0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140031de0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r14, rdx
mov rdi, rcx
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140031fa0
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov esi, 0xffffffff
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
test eax, eax
js 0x140031f94
mov qword [rsp + 0x20], rdi
lea r9, [0x140037de8]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x140037df8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x140031f94
mov r15, qword [rdi]
mov rax, qword [r15]
mov rbp, qword [rax + 0x18]
lea ecx, [rsi + 0x19]
call fcn.140033428
mov rbx, rax
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140031ec1
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140031fc4
jmp 0x140031ec4
mov rbx, r12
mov qword [rsp + 0x90], rbx
test rbx, rbx
je 0x140031fb9
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, r15
call rbp
mov ebp, eax
lock xadd dword [rbx + 0x10], esi
cmp esi, 1
jne 0x140031f38
mov rcx, qword [rbx]
test rcx, rcx
je 0x140031f19
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140031f2b
call fcn.140033300
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.140033300
test ebp, ebp
jns 0x140031f4f
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebp
jmp 0x140031fa0
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [r14]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
jns 0x140031f9e
mov rcx, qword [r14]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rdi]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x140031fa0
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x8007000e
call fcn.140032fa0
nop
mov ecx, 0x8007000e
call fcn.140032fa0
int3
Function at 0x140032444
Capabilities:
Get geographical location

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

Function at 0x14003406c
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc5e4752
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc607108]
test eax, eax
je 0x2fc5e47ea
lea rax, [0x2fc6070e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc607110]
mov qword [rbp - 8], rax
jmp 0x2fc5e47ce
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc5e47c2
cmp qword [rbp - 0x10], 0
je 0x2fc5e47c2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc5e4788
lea rax, [0x2fc6070e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc5e47eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc5e48f0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc5e4918
mov eax, 0
jmp 0x2fc5e4966
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc5e4941
mov eax, 0
jmp 0x2fc5e4966
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc5e4961
mov eax, 0
jmp 0x2fc5e4966
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc5e496c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc5e49ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc5e49e1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc5e49e1
mov rax, qword [rbp - 8]
jmp 0x2fc5e49ff
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc5e49b4
mov eax, 0
add rsp, 0x20
pop rbp
ret