joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e3a0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push edi
call edx
push 0
mov edi, eax
mov eax, dword [esi]
push 0
mov ebp, edx
mov edx, dword [eax + 0xc]
push 0
mov ecx, esi
call edx
test al, al
jne 0x49e3d2
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [esi]
push 0
test eax, eax
mov eax, dword [edx + 0xc]
push ebp
push edi
mov ecx, esi
setne bl
call eax
test al, al
je 0x49e403
test bl, bl
je 0x49e403
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49e5b0
Capabilities:
Read file via mapping

Disassembly:
push esi
push 3
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
push closesocket
push ecx
mov ecx, esi
call edx
test al, al
jne 0x49e5ca
pop esi
ret
push ebx
push edi
mov ecx, esi
mov bl, 1
xor edi, edi
call fcn.0049e550
or eax, edx
je 0x49e60a
mov eax, dword [esi + 4]
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x49e603
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x18], eax
cmp dword [esi + 0x18], 0
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test edi, edi
je 0x49e61d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov al, bl
pop ebx
pop esi
ret

Function at 0x4a18a0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x563f79
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov ecx, esi
mov dword [esp + 8], 0
call fcn.004992d0
mov dword [esp + 0x14], 0
push 0x200
mov eax, 0x200
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.004994c0
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
or eax, 0xffffffff
mov ecx, esi
call fcn.00499c10
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4a3b20
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x55c737
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0xc], ebx
test byte [0x68497c], 1
jne 0x4a3b82
or dword [0x68497c], 1
mov dword [esp + 0x1c], 1
mov ecx, 0x684978
call fcn.004992d0
push 0x5775a0
call fcn.0054f10e
add esp, 4
mov byte [esp + 0x1c], bl
mov eax, 0x684978
call fcn.00499c50
test al, al
jne 0x4a3b9c
mov eax, 0x684978
call fcn.004992f0
jmp 0x4a3bd2
lea ecx, [esp + 0x10]
mov eax, 0x10
push ecx
mov ecx, 0x684978
mov dword [esp + 0x14], eax
call fcn.004994c0
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
or eax, 0xffffffff
mov ecx, 0x684978
call fcn.00499c10
mov eax, 0x684978
call fcn.004992f0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x4a4560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55c6a9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x10], 0
call fcn.004a41f0
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push ecx
push edx
push esi
call fcn.004a45d0
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8
Function at 0x4ae2d0
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x55c6e9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x1c], edi
mov ecx, esi
mov dword [esp + 0x10], edi
call fcn.004992d0
mov dword [esp + 0x1c], edi
lea eax, [esp + 0xc]
push eax
push edi
mov dword [esp + 0x14], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
push 3
mov dword [esp + 0x1c], 1
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4ae356
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004994c0
push eax
push 3
call edi
or eax, 0xffffffff
mov ecx, esi
call fcn.00499c10
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x4ae370
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x55c459
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push eax
push ebp
mov dword [esp + 0x1c], ebp
call ebx
push 1
xor edi, edi
xor eax, eax
call fcn.004993c0
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 1
call fcn.004994c0
push eax
call ebx
or eax, 0xffffffff
mov ecx, esi
call fcn.00499c10
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4ae620
Capabilities:
Get common file path

Disassembly:
sub esp, 0x23c
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
xor ebp, ebp
mov esi, ecx
push ebp
push esi
mov edi, edx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x4ae657
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x38]
mov eax, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], str.Select_a_folder_to_be_used_as_the_download_directory:
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x4ae5e0
call fcn.00408130
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov ebx, eax
cmp ebx, ebp
je 0x4ae6e5
lea ecx, [esp + 0x38]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4ae6ca
lea edx, [esp + 0x38]
push edx
mov eax, edi
call fcn.00499510
mov esi, 1
jmp 0x4ae6e7
push 0x30
push ebp
push str.Failed_to_retrieve_a_valid_path.
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.00499c60
mov esi, 1
jmp 0x4ae6e7
xor esi, esi
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], ebp
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x4ae730
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
je 0x4ae713
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x10], ebp
cmp ebx, ebp
je 0x4ae724
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push ebx
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x244]
cmp esi, ebp
pop edi
pop esi
pop ebp
setne al
pop ebx
xor ecx, esp
call fcn.0054eee2
add esp, 0x23c
ret

Function at 0x4ae750
Capabilities:
Log keystrokes via polling

Disassembly:
mov edx, dword [esp + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
mov dword [esi], vtable.VKeyInfoWin32.0
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
call edi
push 0x11
shr eax, 0xf
and al, 1
mov byte [esi + 0x10], al
call edi
push 0x10
shr eax, 0xf
and al, 1
mov byte [esi + 0x11], al
call edi
pop edi
shr eax, 0xf
and al, 1
mov byte [esi + 0x12], al
mov al, byte [esp + 8]
mov byte [esi + 0x13], al
mov eax, esi
ret 8
Function at 0x4af150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x554593
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea eax, [esi + 4]
xor ebx, ebx
push eax
mov dword [esi], vtable.VUnknown_class_IPacket_.0
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x14], ebx
lea eax, [esi + 8]
mov dword [esi], vtable.VPacket.0
call fcn.004a9d80
mov al, 1
mov byte [esp + 0x14], al
mov byte [esi + 0x1c], al
mov eax, 0xffffffff
mov byte [esi + 0x1d], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x14], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x4b29b0
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x551edc
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x1c4], eax
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x1dc]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1ec]
lea eax, [esp + 0x44]
push eax
push 2
mov edi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, eax
test esi, esi
je 0x4b2b2f
cmp esi, 0x276b
jne 0x4b2a54
mov ecx, dword [0x67f9a0]
push ecx
push 0xe1040002
lea edx, [esp + 0x18]
push edx
call fcn.0049c100
mov dword [esp + 0x1e4], 0
push eax
call fcn.0049c450
mov dword [esp + 0x1e4], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0049c2c0
xor al, al
jmp 0x4b2bae
cmp esi, 0x276c
je 0x4b2ab4
cmp esi, 0x2726
je 0x4b2ab4
mov eax, dword [0x67f9a0]
push eax
push 0xe1040019
lea ecx, [esp + 0x18]
push ecx
call fcn.0049c100
mov dword [esp + 0x1e4], 2
push eax
call fcn.0049c450
mov dword [esp + 0x1e4], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0049c2c0
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
push esi
push str._1_d_
mov ecx, edi
call eax
xor al, al
jmp 0x4b2bae
mov ecx, dword [0x67f9a0]
push ecx
push 0xe1040003
lea edx, [esp + 0x18]
push edx
call fcn.0049c100
mov dword [esp + 0x1e4], 1
push eax
call fcn.0049c450
mov dword [esp + 0x1e4], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0049c2c0
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push esi
push str._1_d_
mov ecx, edi
call edx
movzx ecx, byte [esp + 0x44]
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push ecx
push str._1_d_
mov ecx, edi
call edx
mov ecx, dword [esp + 0x44]
mov eax, dword [edi]
mov eax, dword [eax + 0x30]
shr ecx, 8
movzx edx, cl
push edx
push str._1_d_
mov ecx, edi
call eax
xor al, al
jmp 0x4b2bae
cmp word [esp + 0x44], 2
je 0x4b2ba9
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [0x67f9a0]
push ecx
push 0xe104001a
lea edx, [esp + 0x18]
push edx
call fcn.0049c100
mov dword [esp + 0x1e4], 3
push eax
call fcn.0049c450
mov dword [esp + 0x1e4], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0049c2c0
movzx ecx, byte [esp + 0x44]
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push ecx
push str._1_d_
mov ecx, edi
call edx
mov ecx, dword [esp + 0x44]
mov eax, dword [edi]
mov eax, dword [eax + 0x30]
shr ecx, 8
movzx edx, cl
push edx
push str._1_d_
mov ecx, edi
call eax
xor al, al
jmp 0x4b2bae
mov byte [ebx], 1
mov al, 1
mov ecx, dword [esp + 0x1dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c4]
xor ecx, esp
call fcn.0054eee2
add esp, 0x1d8
ret 4
Function at 0x4b33d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x559508
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.004992d0
mov dword [esp + 0x18], 0
mov eax, 0x104
lea ecx, [esp + 0xc]
call fcn.004994c0
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
or eax, 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00499c10
lea eax, [esp + 0xc]
call fcn.00499c00
mov edi, eax
dec edi
lea eax, [esp + 0xc]
call fcn.0049a170
cmp word [eax], 0x5c
je 0x4b3453
push 0x5c
lea edi, [esp + 0x10]
call fcn.00499630
mov eax, dword [esp + 0x28]
push eax
lea eax, [esp + 0x10]
call fcn.00408130
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.004b34a0
add esp, 0xc
mov bl, al
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00499450
mov al, bl
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret

Function at 0x4b3690
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x572040
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x5c]
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
or edi, 0xffffffff
lea esi, [esp + 0x14]
call fcn.004993c0
mov dword [esp + 0x54], 0
lea eax, [esp + 0x14]
push eax
mov eax, esi
call fcn.00408130
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
jne 0x4b374c
mov ecx, dword [0x67f9a0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x20]
push edx
call fcn.0049c100
mov byte [esp + 0x54], 1
lea eax, [esp + 0x18]
push eax
mov edi, ebx
call fcn.0049c450
mov byte [esp + 0x54], 0
lea ecx, [esp + 0x18]
call fcn.0049c2c0
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00499450
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
ret
mov ecx, dword [esp + 0x14]
push ebx
push esi
push ecx
call fcn.004b33d0
add esp, 0xc
push esi
mov bl, al
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00499450
mov al, bl
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x4b3ee0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push ebx
mov edi, ecx
push esi
call fcn.004b4da0
test al, al
jne 0x4b3f66
mov ecx, edi
mov dword [edi + 0x38], esi
call fcn.004cbb10
push 0x10
push eax
mov eax, dword [edi + 0x30]
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
mov edx, dword [ebx]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], 0
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x4b3f66
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4b3f66
xor edx, edx
push edx
mov ecx, 0x4b46f0
push ecx
push eax
push esi
call fcn.004b4d10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4b4220
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx + 0x30]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x18], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x4b427b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0054eee2
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
push ecx
lea edi, [esp + 0x14]
call fcn.004ad980
mov ecx, dword [esp + 0x98]
mov dword [esi], eax
add esp, 4
neg eax
sbb eax, eax
pop edi
and eax, 0x1efbffbf
pop esi
xor ecx, esp
add eax, 0xe1040041
call fcn.0054eee2
mov esp, ebp
pop ebp
ret 4
Function at 0x4b4450
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5544fb
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
push 0xb8
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x14], eax
xor edx, edx
mov dword [esp + 0x30], edx
cmp eax, edx
je 0x4b44af
push edx
mov ecx, 0x4b49b0
push ecx
mov ecx, dword [ebp + 8]
push ecx
push ebx
push eax
call fcn.004b3830
mov esi, eax
jmp 0x4b44b1
xor esi, esi
mov dword [esp + 0x30], 0xffffffff
mov edi, dword [ebp + 0xc]
mov eax, edi
mov ecx, esi
call fcn.004cc190
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov edx, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
push 0
push esi
lea ecx, [esi + 0xb0]
push ecx
mov dword [esp + 0x28], eax
lea edx, [esi + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebx + 0x30]
lea ecx, [esp + 0x2c]
push ecx
push 1
lea edx, [esp + 0x38]
push edx
push eax
mov dword [esp + 0x34], 0
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
test eax, eax
je 0x4b4536
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4b4536
push esi
push 0x4b46b0
mov dword [esi + 0x2c], eax
mov ecx, dword [ebx + 0x2c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5544fb
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
xor esi, esi
test byte [ebp + 0x14], 1
mov edi, 0x4b4900
jne 0x4b4f51
mov edi, 0x4b4850
push 0x30
call sub.mfc90u.dll_new_1
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], 0
test ecx, ecx
je 0x4b4f83
mov eax, dword [ebp + 0xc]
push eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
mov esi, ecx
call fcn.004cc120
mov esi, eax
jmp 0x4b4f88
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x30], 0xffffffff
mov eax, ebx
mov ecx, esi
call fcn.004cc190
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
push 0
push esi
lea ecx, [ebp + 0x14]
push ecx
mov ecx, dword [edi + 0x30]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
push 1
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x4b4ff6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4b4ff6
push esi
push 0x4b46b0
mov dword [esi + 0x2c], eax
mov edx, dword [edi + 0x2c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b5010
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x551dfb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
test byte [ebp + 0x10], 1
mov esi, 0x4b4b10
jne 0x4b504d
mov esi, 0x4b4aa0
push 0x30
call sub.mfc90u.dll_new_1
mov ecx, eax
add esp, 4
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x4b507f
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, ebx
mov esi, ecx
call fcn.004cc120
mov esi, eax
jmp 0x4b5084
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x28], 0xffffffff
mov eax, edi
mov ecx, esi
call fcn.004cc190
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov edx, dword [edi]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
mov ecx, dword [ebp + 0x10]
push 0
push esi
push ecx
mov ecx, dword [ebx + 0x30]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
push 1
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x4b50f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4b50f2
push esi
push 0x4b46b0
mov dword [esi + 0x2c], eax
mov edx, dword [ebx + 0x2c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b5400
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x551d98
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4b54dd
mov ecx, dword [0x67f9a0]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
lea ecx, [esp + 0x68]
push ecx
push 0
push ebx
push eax
mov dword [esp + 0x30], 4
call ebp
push eax
lea edx, [esp + 0x20]
push edx
call fcn.0049c100
mov dword [esp + 0x54], 0
lea eax, [esp + 0x18]
lea edi, [esi + 0x14]
push eax
call fcn.0049c450
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0049c2c0
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
test eax, eax
jne 0x4b54dd
cmp dword [esp + 0x5c], 4
mov ecx, dword [0x67f9a0]
push ecx
je 0x4b54e1
push 0x65d
lea edx, [esp + 0x20]
push edx
call fcn.0049c100
mov dword [esp + 0x54], 1
lea eax, [esp + 0x18]
push eax
call fcn.0049c450
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0049c2c0
xor al, al
jmp 0x4b5535
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 4]
push eax
lea ecx, [esp + 0x68]
push ecx
push 0
push ebx
push edx
call ebp
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0049c100
mov dword [esp + 0x54], 2
lea ecx, [esp + 0x18]
push ecx
call fcn.0049c450
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0049c2c0
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8