joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43208f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push edi
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x130], 0xffffffff
mov dword [ebp - 0x12c], 0
mov ecx, 0x49
xor eax, eax
lea edi, [ebp - 0x128]
rep stosd dword es:[edi], eax
cmp dword [ebp + 8], 0
jne 0x4320d4
jmp 0x432189
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0xffffffff
jne 0x4320f1
jmp 0x432189
mov dword [ebp - 0x12c], pe_nt_image_headers32
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x432119
jmp 0x432189
mov dword [ebp - 0x238], 0
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x234]
rep stosd dword es:[edi], eax
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x238], edx
push 0x103
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.0040189d
add esp, 0xc
lea edx, [ebp - 0x238]
push edx
mov ecx, dword [ebp + 8]
call fcn.00432fc0
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x432119
xor edx, edx
test edx, edx
jne 0x4320c9
cmp dword [ebp - 0x130], 0xffffffff
je 0x43219f
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x4339bb
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460e7c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x118], 0
cmp dword [ebp + 8], 0
je 0x4339f6
cmp dword [ebp + 0xc], 0
jne 0x4339fa
xor eax, eax
jmp 0x433a74
push 0x104
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x433a31
cmp dword [ebp - 0x118], 0x104
jbe 0x433a35
xor eax, eax
jmp 0x433a74
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x128]
call fcn.00401528
mov dword [ebp - 4], 0
lea edx, [ebp - 0x128]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004012c1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.00401005
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x433d0f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push edi
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x7c], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x78]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x7c], 0x44
cmp dword [ebp + 8], 0
jne 0x433d8b
cmp dword [ebp + 0x14], 0
je 0x433d7e
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x57
xor ecx, ecx
test ecx, ecx
jne 0x433d6f
xor eax, eax
jmp 0x433eaa
cmp dword [ebp + 0x10], 0
je 0x433d97
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x38], edx
cmp dword [ebp + 0xc], 0
je 0x433da3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0x20
xor ecx, ecx
test ecx, ecx
jne 0x433dca
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x2c]
and eax, 1
cmp eax, 1
jne 0x433dca
mov ecx, dword [ebp - 0x34]
or ecx, 0x8000000
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x2c]
call fcn.004010eb
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00433a82
add esp, 8
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x30]
push edx
push 0
push 0
mov eax, dword [ebp - 0x34]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x433e74
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x88]
cmp dword [eax + 4], 0
je 0x433e4b
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x88]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov dword [ecx + 4], eax
mov dword [ebp - 0x80], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401005
mov eax, dword [ebp - 0x80]
jmp 0x433eaa
cmp dword [ebp + 0x14], 0
je 0x433e85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
xor edx, edx
test edx, edx
jne 0x433e74
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401005
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x433ebb
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
push 0xcc
push 0x4a1a20
push 0x28
call fcn.00401244
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x433f08
cmp dword [ebp + 0xc], 0
je 0x433efd
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 8
xor edx, edx
test edx, edx
jne 0x433eee
jmp 0x433fb2
mov eax, dword [ebp - 8]
add eax, 4
push eax
push str.SeAssignPrimaryTokenPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x433f2a
jmp 0x433fb2
mov ecx, dword [ebp - 8]
add ecx, 0x10
push ecx
push str.SeIncreaseQuotaPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x433f49
jmp 0x433fb2
mov edx, dword [ebp - 8]
add edx, 0x1c
push edx
push str.SeImpersonatePrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x433f68
jmp 0x433fb2
mov eax, dword [ebp - 8]
mov dword [eax], 3
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], 2
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], 2
mov eax, dword [ebp - 8]
mov dword [eax + 0x24], 2
push 0
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov dword [ebp - 4], eax
xor eax, eax
test eax, eax
jne 0x433ecb
cmp dword [ebp - 4], 0
jne 0x433fda
cmp dword [ebp + 0xc], 0
je 0x433fc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor edx, edx
test edx, edx
jne 0x433fb8
push str.AjustToken_Error_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 8], 0
je 0x433ff2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040120d
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x434316
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 8
ja 0x434332
jmp 0x434360
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43434b
jmp 0x434360
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 4], eax
xor edx, edx
test edx, edx
jne 0x43432a
cmp dword [ebp - 4], 0
jne 0x43437d
cmp dword [ebp + 0xc], 0
je 0x434377
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor edx, edx
test edx, edx
jne 0x434366
cmp dword [ebp - 8], 0
je 0x43438d
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x434821
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460f29
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x830
push edi
mov dword [ebp - 0x810], 0
mov byte [ebp - 0x80c], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x814], 0
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x810], eax
cmp dword [ebp - 0x814], 0
ja 0x434895
jmp 0x434974
lea ecx, [ebp - 0x828]
call fcn.004010eb
mov dword [ebp - 4], 0
mov dword [ebp - 0x818], 0
jmp 0x4348c2
mov ecx, dword [ebp - 0x818]
add ecx, 1
mov dword [ebp - 0x818], ecx
mov edx, dword [ebp - 0x818]
cmp edx, dword [ebp - 0x814]
jae 0x434958
mov dword [ebp - 0x82c], 0
lea eax, [ebp - 0x82c]
push eax
push 0x800
lea ecx, [ebp - 0x80c]
push ecx
mov edx, dword [ebp - 0x818]
mov eax, dword [ebp - 0x810]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.00420df8
add esp, 0x10
test eax, eax
je 0x434953
lea edx, [ebp - 0x80c]
push edx
lea ecx, [ebp - 0x83c]
call fcn.00401528
mov byte [ebp - 4], 1
lea eax, [ebp - 0x83c]
push eax
lea ecx, [ebp - 0x828]
call fcn.004012c1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x83c]
call fcn.00401005
lea ecx, [ebp - 0x828]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401947
jmp 0x4348b3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.00401005
xor edx, edx
test edx, edx
jne 0x434863
cmp dword [ebp - 0x810], 0
je 0x43498a
mov eax, dword [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x437cb7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x437d0c
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
jmp 0x437de9
mov dword [ebp - 0x18], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x437d49
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
jmp 0x437de9
mov dword [ebp - 0x14], 0
jmp 0x437d5b
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jae 0x437ddf
mov byte [ebp - 0x120], 0
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x11f]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x124], 0x104
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x437db2
jmp 0x437d52
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00437e01
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x437dda
jmp 0x437ddf
jmp 0x437d52
xor ecx, ecx
test ecx, ecx
jne 0x437cdd
cmp dword [ebp - 0x10], 0
je 0x437df9
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x437e01
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x437e6a
jmp 0x437eec
mov dword [ebp - 0x114], 0x104
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
push str.NetCfgInstanceId
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x437ea0
jmp 0x437eec
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004017ad
add esp, 8
test eax, eax
jne 0x437ee2
mov dword [ebp - 0x114], 4
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push str.Characteristics
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
xor edx, edx
test edx, edx
jne 0x437e43
cmp dword [ebp - 8], 0
je 0x437efc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x439840
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4613f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040179e
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0040179e
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0x20
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0040179e
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00438a50
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
add ecx, 0x3c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.004011f4
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
add edx, 0x48
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.004011f4
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x54]
mov dword [eax + 0x54], edx
mov eax, dword [ebp + 8]
add eax, 0x58
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.004011f4
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 8]
add ecx, 0x64
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.004011f4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
mov dword [edx + 0x70], ecx
mov edx, dword [ebp + 8]
add edx, 0x74
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.004011f4
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
add eax, 0x80
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
call fcn.004011f4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x90]
mov dword [edx + 0x90], eax
mov ecx, dword [ecx + 0x94]
mov dword [edx + 0x94], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x98]
mov dword [edx + 0x98], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x9c]
mov dword [edx + 0x9c], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x43a7ec
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push esi
push edi
mov dword [ebp - 4], 0
push 0x9c
push 0
lea eax, [ebp - 0xa0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43a839
jmp 0x43a937
cmp dword [ebp - 0x90], 2
jne 0x43a8e0
movzx dx, byte [ebp - 6]
mov word [ebp - 0xa4], dx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.0043a95d
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0043aab8
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x43a8a3
mov edx, dword [ebp - 0xc]
and edx, 0xffff
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
xor ecx, ecx
test ecx, ecx
jne 0x43a88f
cmp dword [ebp + 0x14], 0
je 0x43a8bd
mov edx, dword [ebp - 0xa]
and edx, 0xffff
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
xor ecx, ecx
test ecx, ecx
jne 0x43a8a9
cmp dword [ebp + 0x18], 0
je 0x43a8da
mov edx, dword [ebp - 0x94]
and edx, 0xffff
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
xor ecx, ecx
test ecx, ecx
jne 0x43a8c3
cmp dword [ebp + 0x1c], 0
je 0x43a8f6
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
and eax, 0xffff
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
xor eax, eax
test eax, eax
jne 0x43a8e0
cmp dword [ebp - 0x9c], 6
jb 0x43a92d
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
sub esp, 0x9c
mov ecx, 0x27
lea esi, [ebp - 0xa0]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0043ad14
add esp, 0xa4
xor eax, eax
test eax, eax
jne 0x43a7fe
cmp dword [ebp - 4], 0
jne 0x43a954
cmp dword [ebp + 0x20], 0
je 0x43a94e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
xor edx, edx
test edx, edx
jne 0x43a93d
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43aebd
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 4], 0
push 0x9c
push 0
lea eax, [ebp - 0xa0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x43af19
cmp dword [ebp + 8], 0
je 0x43af0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor eax, eax
test eax, eax
jne 0x43aefe
xor eax, eax
jmp 0x43af57
cmp dword [ebp - 0x9c], 5
jne 0x43af47
cmp dword [ebp - 0x98], 1
jne 0x43af47
mov ecx, dword [ebp - 8]
and ecx, 0xffff
and ecx, 0x40
test ecx, ecx
je 0x43af47
mov dword [ebp - 0xa4], 1
jmp 0x43af51
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov esp, ebp
pop ebp
ret
Function at 0x43b027
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46150a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
push edi
mov dword [ebp - 0x10], 0
push 0x4a52d4
lea ecx, [ebp - 0x428]
call fcn.00401528
mov dword [ebp - 4], 0
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp + 8]
call fcn.004012c1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00401005
mov dword [ebp - 0x418], 0x400
mov byte [ebp - 0x410], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x40f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x410]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
je 0x43b0d6
cmp dword [ebp - 0x418], 0
jne 0x43b0ef
cmp dword [ebp + 0xc], 0
je 0x43b0e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor edx, edx
test edx, edx
jne 0x43b0d6
jmp 0x43b13a
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x438]
call fcn.00401528
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004012c1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00401005
mov dword [ebp - 0x10], 1
xor edx, edx
test edx, edx
jne 0x43b085
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x43b9c1
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
mov dword [ebp - 0x28], 0
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x28]
and ecx, 0xffff
cmp ecx, 9
je 0x43ba08
mov edx, dword [ebp - 0x28]
and edx, 0xffff
cmp edx, 6
jne 0x43ba0f
mov eax, 2
jmp 0x43ba30
mov eax, dword [ebp - 0x28]
and eax, 0xffff
test eax, eax
jne 0x43ba2b
call fcn.0043ba35
test eax, eax
je 0x43ba2b
mov eax, 2
jmp 0x43ba30
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x43baab
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498ad0
push 0x42de4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push ebx
mov ebx, 0
mov eax, 1
invalid
Function at 0x43bb2b
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498ae0
push 0x42de4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
jmp 0x43bb9e
mov eax, dword [ebp - 0x1c]
and eax, 0xff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret