joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c0b60
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x57a734]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [eax + 8]
lea eax, [ebp - 0x184]
push 0x80
push 0
push eax
mov dword [ebp - 0x188], 0x80
call fcn.004fce20
add esp, 0xc
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x184]
push eax
push dword [esi + 0x98]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x4c0bfb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.004a4130
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.004929d0
add esp, 0x1c
mov eax, 2
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e36f8
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x120]
push eax
lea eax, [esi + 0xf0]
push eax
push dword [ebp - 0x188]
lea eax, [ebp - 0x184]
push eax
call fcn.004934f0
add esp, 0x10
test al, al
jne 0x4c0c6a
push edi
call fcn.00504d91
mov esi, dword [eax]
call fcn.00504d91
mov edi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.004a4130
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.004929d0
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e36f8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.004e36f8
mov esp, ebp
pop ebp
ret

Function at 0x4c0ec0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x57a734]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
push 4
cmp byte [esi + 0x6db], al
setne al
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x4c0f1d
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d
push esi
call fcn.00492a90
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e36f8
mov esp, ebp
pop ebp
ret
push dword [esi + 0x678]
mov dword [ebp - 0x10], 1
call fcn.004944c0
push dword [esi + 0x67c]
imul eax, eax, 0x3e8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
call fcn.004944c0
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x4c0f8d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d
push esi
call fcn.00492a90
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004e36f8
mov esp, ebp
pop ebp
ret
Function at 0x4c0fa0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x57a734]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 4
push eax
push 1
push 6
push dword [ebp + 0xc]
mov dword [ebp - 0x108], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x4c1002
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004a4130
push eax
push str.Could_not_set_TCP_NODELAY:__s
push esi
call fcn.00492a90
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004e36f8
mov esp, ebp
pop ebp
ret
Function at 0x4c97f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x57a734]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x118], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x10c], edi
call fcn.004a3890
add esp, 4
mov dword [ebp - 0x11c], eax
test eax, eax
jne 0x4c986d
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.004a4220
push eax
push dword [ebp - 0x108]
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push edi
call fcn.004929d0
add esp, 0x1c
lea esi, [ebx + 0x4d]
jmp 0x4c99ce
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x114], eax
cmp eax, 0xffffffff
jne 0x4c98c8
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.004a4220
push eax
push dword [ebp - 0x108]
push str.schannel:_failed_to_open_CA_file__s:__s
push edi
call fcn.004929d0
add esp, 0x1c
mov esi, 0x4d
jmp 0x4c99ce
lea ecx, [ebp - 0x124]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
jne 0x4c9911
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.004a4220
push eax
push dword [ebp - 0x108]
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push edi
call fcn.004929d0
add esp, 0x1c
mov esi, 0x4d
jmp 0x4c99c2
mov edi, dword [ebp - 0x124]
cmp dword [ebp - 0x120], ebx
jl 0x4c9948
jg 0x4c9929
cmp edi, 0x100000
jbe 0x4c9948
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push dword [ebp - 0x10c]
call fcn.004929d0
add esp, 0xc
mov esi, 0x4d
jmp 0x4c99c2
lea eax, [edi + 1]
push eax
call dword [0x57a348]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4c9960
lea esi, [eax + 0x1b]
jmp 0x4c99c2
test edi, edi
je 0x4c99a0
push 0
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [ebp - 0x114]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4c9a02
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x4c99fe
add esi, eax
cmp esi, edi
jb 0x4c9964
push dword [ebp - 0x10c]
mov byte [edi + ebx], 0
push dword [ebp - 0x108]
push edi
push ebx
push dword [ebp - 0x118]
call fcn.004c9590
add esp, 0x14
mov esi, eax
push dword [ebp - 0x114]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call dword [0x57a34c]
mov eax, dword [ebp - 0x11c]
add esp, 4
test eax, eax
je 0x4c99eb
push eax
call fcn.00500006
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e36f8
mov esp, ebp
pop ebp
ret
mov edi, esi
jmp 0x4c99a0
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.004a4220
push eax
push dword [ebp - 0x108]
push str.schannel:_failed_to_read_from_CA_file__s:__s
push dword [ebp - 0x10c]
call fcn.004929d0
add esp, 0x1c
mov esi, 0x4d
jmp 0x4c99c2
Function at 0x4cc340
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x57a734]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push edi
mov edi, dword [ebp + 0x10]
push 0xf0000040
push 1
push 0
push 0
push eax
mov dword [ebp - 0x20], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4cc3d7
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
push edi
mov word [ebp - 0x18], 0x208
mov dword [ebp - 0x14], 0x6601
mov dword [ebp - 0x10], 8
call fcn.004cc440
lea eax, [ebp - 0xc]
push 8
push eax
call fcn.004d0680
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x14
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x4cc3e9
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e36f8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push dword [ebp - 0x20]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004e36f8
mov esp, ebp
pop ebp
ret

Function at 0x4cdc10
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x4cdc43
push 0x2e
push edi
call fcn.004fead0
add esp, 8
test eax, eax
je 0x4cdc41
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x4d0280
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x57a348]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4d02ad
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x4d02f4
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x4d02fa
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4d035b
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x4d0320
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x4d0387
mov eax, dword [esi + 4]
push 1
push 0x54aafd
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x54aafe
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x4d0360
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4d04d0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push 0xf0000040
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4d0505
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x800c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push dword [ebp + 0x10]
call fcn.004944e0
add esp, 4
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.004d0470
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4d06d0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4d0713
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8002
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push dword [ebp + 0x10]
call fcn.004944e0
add esp, 4
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [ebp - 4], 0x10
jne 0x4d0761
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4d076f
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4d077f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esp, ebp
pop ebp
ret
Function at 0x4d7730
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
mov eax, dword [0x57a734]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x204]
push 0x100
push 0
push eax
call fcn.004fce20
lea ecx, [ebp - 0x204]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d7766
sub ecx, edx
lea eax, [ebp - 0x204]
push ecx
push eax
mov ecx, esi
call fcn.004df530
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004fce20
add esp, 0xc
lea eax, [ebp - 0x308]
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
push 0xfa
lea eax, [ebp - 0x305]
push 0
push eax
call fcn.004fce20
add esp, 0xc
lea eax, [ebp - 0x40c]
push 0x104
push eax
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x51c]
push eax
lea eax, [ebp - 0x514]
push eax
push 0x104
lea eax, [ebp - 0x510]
push eax
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
test eax, eax
jne 0x4d780d
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e36f8
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 0x514]
lea eax, [ebp - 0x104]
push 0x54b9cc
push eax
call fcn.00402b87
lea eax, [ebp - 0x104]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d7830
sub eax, edx
mov ecx, esi
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004df250
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004e36f8
mov esp, ebp
pop ebp
ret 4
Function at 0x4d7c80
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x57a734]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x288
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 0x288
call fcn.00505b64
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4d7e88
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0x8080808
call sub.IPHLPAPI.DLL_GetBestInterface
mov edi, eax
lea eax, [ebp - 0x30]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4d7cf7
push ebx
call fcn.00500006
push dword [ebp - 0x30]
call fcn.00505b64
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4d7e88
push esi
lea eax, [ebp - 0x30]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4d7e68
mov esi, ebx
test ebx, ebx
je 0x4d7e75
test edi, edi
jne 0x4d7da0
mov eax, dword [ebp - 0x34]
nop
cmp dword [esi + 0x19c], eax
je 0x4d7d33
mov esi, dword [esi]
test esi, esi
jne 0x4d7d20
jmp 0x4d7e68
mov dword [ebp - 8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x18]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.00402b87
lea edx, [ebp - 0x18]
add esp, 0x20
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4d7d88
sub edx, esi
lea eax, [ebp - 0x18]
push edx
jmp 0x4d7e5f
lea edi, [esi + 0x10c]
push 0x54b9ec
push edi
call fcn.004fc1f0
add esp, 8
test eax, eax
jne 0x4d7dc8
mov eax, dword [esi + 0x1a0]
cmp eax, 0x47
je 0x4d7dc8
cmp eax, 6
jne 0x4d7df5
push str.Bluetooth
push edi
call fcn.004fc1f0
add esp, 8
test eax, eax
jne 0x4d7df5
push str.Virtual
push edi
call fcn.004fc1f0
add esp, 8
test eax, eax
jne 0x4d7df5
cmp dword [esi + 0x190], 6
je 0x4d7dfd
mov esi, dword [esi]
test esi, esi
jne 0x4d7da0
jmp 0x4d7e68
movzx eax, byte [esi + 0x199]
xorps xmm0, xmm0
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
push str._02X_02X_02X_02X_02X_02X
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.00402b87
lea ecx, [ebp - 0x2c]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d7e52
sub ecx, edx
lea eax, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x38]
push eax
call fcn.004df530
test ebx, ebx
je 0x4d7e75
push ebx
call fcn.00500006
add esp, 4
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e36f8
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.004e36f8
mov esp, ebp
pop ebp
ret 4
Function at 0x4dff50
Capabilities:
Get number of processors

Disassembly:
push 0x220
call fcn.004e3709
add esp, 4
test eax, eax
je 0x4dff68
mov ecx, eax
jmp fcn.004d2530
xor eax, eax
ret

Function at 0x4dffa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [0x57fd2c], eax
mov eax, dword [ebp + 0xc]
mov dword [0x57fd30], eax
mov eax, dword [ebp + 0x10]
mov dword [0x57fd34], eax
mov eax, dword [ebp + 0x14]
push 0x220
mov dword [0x57fd38], eax
call fcn.004e3709
add esp, 4
test eax, eax
je 0x4dffdd
mov ecx, eax
call fcn.004d2530
jmp 0x4dffdf
xor eax, eax
push 0
push 0
push 0
push 0x4d8c50
push 0
push 0
mov dword [0x57fd28], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
xor eax, eax
pop ebp
ret
Function at 0x4e1fa0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531250
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x57a734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetComputerNameW]
mov eax, dword [ebp - 0x44]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3d16
add esp, 4
mov edi, eax
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetComputerNameW]
test eax, eax
je 0x4e2049
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e2030
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.004df620
push edi
call fcn.004e3ad9
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
add esp, 4
lea eax, [eax + eax*2]
push 0x20
push eax
call fcn.00409bda
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push 0
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x40]
push ecx
push dword [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
ja 0x4e20b1
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
cmovae ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
jmp 0x4e20be
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.0040c601
lea eax, [ebp - 0x28]
cmp ebx, eax
je 0x4e20d8
cmp dword [ebp - 0x14], 0x10
mov ecx, ebx
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004df530
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4e2108
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e20fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e216f
push edx
push ecx
call fcn.004e3aa8
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 8
jb 0x4e2150
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e2146
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e2174
push edx
push ecx
call fcn.004e3aa8
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e36f8
mov esp, ebp
pop ebp
ret 4
call fcn.005001e5
call fcn.005001e5
int3
Function at 0x4e2180
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x57a734]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x194]
push eax
push 0x101
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x539527
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4e21fc
mov eax, dword [eax + 0xc]
push ebx
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
lea ebx, [edx + 1]
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4e21d0
sub edx, ebx
mov ecx, esi
push edx
push eax
call fcn.004df530
pop ebx
cmp edi, esi
je 0x4e21fc
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4e21f1
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.004df530
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004e36f8
mov esp, ebp
pop ebp
ret 4
Function at 0x4e25a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531290
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x57a734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.004e2220
push str.GetNativeSystemInfo
push 0x54be4c
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x4e2628
lea ecx, [ebp - 0x64]
push ecx
call eax
jmp 0x4e2632
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ax, word [ebp - 0x64]
cmp ax, 9
je 0x4e264b
cmp ax, 6
je 0x4e264b
push 4
push str._x32
jmp 0x4e2652
push 4
push str._x64
lea ecx, [ebp - 0x28]
call fcn.004df530
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004d1810
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x4e269c
mov ecx, edi
call fcn.004df170
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4e26d0
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e26c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e274f
push edx
push ecx
call fcn.004e3aa8
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4e2700
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e26f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e2754
push edx
push ecx
call fcn.004e3aa8
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4e2730
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e2726
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e2759
push edx
push ecx
call fcn.004e3aa8
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e36f8
mov esp, ebp
pop ebp
ret 4
call fcn.005001e5
call fcn.005001e5
call fcn.005001e5
int3