joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027510
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ea30
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x818], 0
push 4
lea ecx, [ebp - 0x814]
call fcn.10005e70
lea ecx, [ebp - 0x814]
call fcn.1001a080
mov dword [ebp - 4], 0
push 0x800
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.1009f7e0
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x810]
push ecx
call fcn.1009f7e0
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x810]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100275c9
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.10019f00
push 0x101da8b4
lea ecx, [ebp - 0x814]
call fcn.10019e60
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1001a060
mov edx, dword [ebp - 0x818]
or edx, 1
mov dword [ebp - 0x818], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x814]
call fcn.10019f40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret

Function at 0x10027620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ea30
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x818], 0
push 4
lea ecx, [ebp - 0x814]
call fcn.10005e70
lea ecx, [ebp - 0x814]
call fcn.1001a080
mov dword [ebp - 4], 0
push 0x800
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.1009f7e0
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x810]
push ecx
call fcn.1009f7e0
add esp, 0xc
push 0
push 2
lea edx, [ebp - 0x810]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100276d9
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.10019f00
push 0x101da8b8
lea ecx, [ebp - 0x814]
call fcn.10019e60
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1001a060
mov edx, dword [ebp - 0x818]
or edx, 1
mov dword [ebp - 0x818], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x814]
call fcn.10019f40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret

Function at 0x10027960
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x1002798d
mov byte [ebp - 9], 1
jmp 0x10027991
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret
Function at 0x10027bb0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017eab5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10003fe0
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
push 0
push 0x80
push 3
push 0
push 3
push bind
lea ecx, [ebp + 0xc]
call fcn.100196a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x10027c2f
jmp 0x10027cca
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x10027c4f
jmp 0x10027cca
cmp dword [ebp + 0x10], 0
je 0x10027c63
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp + 0x10]
jbe 0x10027c63
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.10053757
add esp, 4
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
jne 0x10027c80
jmp 0x10027cca
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x10027cb0
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x38]
je 0x10027cb2
jmp 0x10027cca
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
call fcn.10003df0
xor ecx, ecx
jne 0x10027c00
cmp dword [ebp - 0x3c], 0xffffffff
je 0x10027cda
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x34], 0
je 0x10027d0e
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.1005320b
add esp, 4
cmp dword [ebp - 0x40], 0
jne 0x10027d01
mov dword [ebp - 0x50], 0
jmp 0x10027d0e
mov dword [ebp - 0x34], 0x8123
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003ef0
mov ecx, dword [ebp - 0x44]
or ecx, 1
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10003ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10019f40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret
Function at 0x10027d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
mov dword [ebp - 0x10], 0
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea ecx, [ebp + 8]
call fcn.100196a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10027da7
jmp 0x10027df1
mov ecx, dword [ebp + 0xc]
call fcn.10003d90
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.10003db0
push eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10027de7
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
je 0x10027de9
jmp 0x10027df1
mov byte [ebp - 9], 1
xor ecx, ecx
jne 0x10027d7b
cmp dword [ebp - 0x10], 0xffffffff
je 0x10027e01
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 9]
mov byte [ebp - 0xa], al
lea ecx, [ebp + 8]
call fcn.10019f40
movzx eax, byte [ebp - 0xa]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret
Function at 0x100282d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017eba5
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 1
lea eax, [ebp + 8]
push eax
push 0x101da9a8
lea ecx, [ebp - 0x68]
push ecx
call fcn.1002b640
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 2
push 0x101da9a4
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.10019a70
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp + 8]
call fcn.10019f20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.10019f40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.10019f40
push 0x3c
push 0
lea ecx, [ebp - 0x50]
push ecx
call fcn.1009f7e0
add esp, 0xc
mov dword [ebp - 0x50], 0x3c
movzx edx, byte [ebp + 0x1c]
test edx, edx
je 0x10028396
mov dword [ebp - 0x4c], 0x440
jmp 0x1002839d
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea ecx, [ebp + 8]
call fcn.100196a0
mov dword [ebp - 0x40], eax
lea ecx, [ebp + 0xc]
call fcn.100196a0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100283d9
mov dword [ebp - 0x34], 5
jmp 0x100283e0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp + 0x14], 0
je 0x10028406
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x1002842a
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10019f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10019f40
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret
Function at 0x100285a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x80
push 3
push 0
push 1
push bind
mov ecx, dword [ebp + 8]
call fcn.1001a810
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0xffffffff
jne 0x100285ea
xor eax, eax
jmp 0x100287da
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x438], 0
push 0x101825f5
push 0x200000
call fcn.1005396e
add esp, 8
mov dword [ebp - 0x448], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0x424], ecx
cmp dword [ebp - 0x424], 0
jne 0x1002864b
xor eax, eax
jmp 0x100287da
mov dword [ebp - 0x428], 0
call fcn.10026dc0
mov dword [ebp - 0x44c], eax
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [ebp - 0x44c]
call fcn.1002be90
cmp dword [ebp - 0x42c], 0
jl 0x10028781
jg 0x1002868e
cmp dword [ebp - 0x430], 0
jbe 0x10028781
mov dword [ebp - 8], 0
cmp dword [ebp - 0x42c], 0
jg 0x100286c6
jl 0x100286ac
cmp dword [ebp - 0x430], 0x200000
jae 0x100286c6
mov eax, dword [ebp - 0x430]
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], ecx
jmp 0x100286d8
xor edx, edx
mov dword [ebp - 0x444], 0x200000
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x438], eax
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1002870b
jmp 0x10028781
xor edx, edx
mov eax, dword [ebp - 0x430]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x42c]
sbb ecx, edx
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], ecx
cmp dword [ebp - 0x428], 0
jne 0x10028755
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x424]
push ecx
call fcn.1002beb0
add esp, 0xc
mov dword [ebp - 0x428], eax
jmp 0x1002877c
mov edx, dword [ebp - 0x428]
push edx
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x424]
push edx
call fcn.1002bf20
add esp, 0x10
mov dword [ebp - 0x428], eax
jmp 0x10028672
mov eax, dword [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x43c], ecx
mov edx, dword [ebp - 0x43c]
push edx
call fcn.1005320b
add esp, 4
cmp dword [ebp - 0x43c], 0
jne 0x100287be
mov dword [ebp - 0x450], 0
jmp 0x100287d4
mov dword [ebp - 0x424], 0x8123
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret
Function at 0x10029240
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x1002924e
jmp 0x10029287
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1002927d
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 8]
jmp 0x10029287
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esp, ebp
pop ebp
ret
Function at 0x1002ea80
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x198], ecx
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x1002eab7
xor eax, eax
jmp 0x1002eb5c
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x198]
mov edx, dword [ebp - 0x19c]
mov dword [ecx + 4], edx
cmp dword [ebp - 0x19c], 0xffffffff
jne 0x1002eae5
xor eax, eax
jmp 0x1002eb5c
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov ecx, dword [ebp - 0x198]
mov dword [ecx + 8], eax
push 1
mov edx, dword [ebp - 0x198]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x198]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
push 0x101825f5
push 0x10f
call fcn.1005396e
add esp, 8
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x1a0]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x198]
cmp dword [edx + 0x10], 0
jne 0x1002eb47
xor eax, eax
jmp 0x1002eb5c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x198]
mov word [ecx + 0xc], ax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret
Function at 0x10030ff0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c1ed
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x101e9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 0x101df10c
mov ecx, dword [ebp - 0x14]
call fcn.10003f60
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov dword [ebp - 0x18], ecx
push 0x101df10c
mov ecx, dword [ebp - 0x18]
call fcn.10003f60
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10031440
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x22c], 0xffffffff
lea eax, [ebp - 0x224]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003166c
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x100314cd
mov dword [ebp - 0x210], 0x64
mov dword [ebp - 0x228], 0
jmp 0x100314e8
mov eax, dword [ebp - 0x228]
add eax, 1
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
cmp ecx, dword [ebp - 0x210]
jae 0x1003166c
mov dword [ebp - 0x220], 0
push 0x104
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.1009f7e0
add esp, 0xc
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x214], 0x104
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.1009f7e0
add esp, 0xc
mov ecx, dword [ebp - 0x228]
push ecx
push str._04u
push 0x104
lea edx, [ebp - 0x108]
push edx
call fcn.100325b0
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10031599
jmp 0x100314d9
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push str.NetCfgInstanceId
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100315d8
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100314d9
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [ebp + 8]
call fcn.10003db0
push eax
call fcn.100aae71
add esp, 8
test eax, eax
je 0x10031606
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100314d9
mov dword [ebp - 0x214], 4
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
push str.Characteristics
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1003165a
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1003166c
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100314d9
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret
Function at 0x10032cc0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c1ed
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x101e9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1001ae30
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 0x18
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1001ae30
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x34], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x38], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10035320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x10], 0
jg 0x1003534a
jl 0x10035341
cmp dword [ebp + 0xc], 0
ja 0x1003534a
xor eax, eax
xor edx, edx
jmp 0x1003548b
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x38], 0
je 0x1003536c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10035d90
jmp 0x1003548b
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
call fcn.10036da0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x100353db
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.10004be0
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.10036f00
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.10004410
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.10036e80
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x4c], 0
je 0x1003547c
mov ecx, dword [ebp - 0x10]
call fcn.100369d0
mov dword [ebp - 0x2c], 0xfff
cmp dword [ebp - 8], 0xfff
jbe 0x1003544b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.100abd08
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x18]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x18], 0xfff
je 0x10035449
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x1003548b
jmp 0x100353f7
cmp dword [ebp - 8], 0
jbe 0x1003547c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.100abd08
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10038540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0x100
mov eax, dword [ebp - 0xc]
push eax
call fcn.100a9d3c
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
push str.SYSTEMControlSet001ServicesdiskEnum
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1003859d
mov edx, dword [ebp - 0x14]
push edx
call fcn.100a983f
add esp, 4
xor eax, eax
jmp 0x10038659
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0x101dbbd4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xea
jne 0x10038607
mov ecx, dword [ebp - 0xc]
add ecx, 0x100
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.100abfc0
add esp, 8
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0x101dbc44
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x18], eax
jmp 0x100385bd
cmp dword [ebp - 0x18], 0
jne 0x10038641
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_CharLowerA]
mov dword [ebp - 0x20], eax
push str.vmware
mov eax, dword [ebp - 0x20]
push eax
call fcn.10038440
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1003863d
mov eax, 1
jmp 0x10038659
xor eax, eax
jmp 0x10038659
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
push edx
call fcn.100a983f
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret