joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454248
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x454280]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454261
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454270
or bl, 4
test esi, 0x20000000
je 0x45427b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45a884
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45a896
add esp, 0xfffffff0
call fcn.00403a14
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e408
mov eax, dword [0x490ae4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ac28
mov eax, dword [0x490af0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ac34
mov eax, ebx
call fcn.0045ac40
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x413e18]
call fcn.00403680
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x413e18]
call fcn.00403680
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x413e18]
call fcn.00403680
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x413e18]
call fcn.00403680
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x413e18]
call fcn.00403680
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x457108
push eax
push 0
push 0
mov eax, dword [0x490ca8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41fe58]
call fcn.0042152c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41fe58]
call fcn.0042152c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41fe58]
call fcn.0042152c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045b060
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45af3c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45af3c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45af3c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a9d3
call fcn.00403a6c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45ad20
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45aecb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45aeac
mov dl, 1
mov eax, dword [0x414308]
call fcn.00403680
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044a0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ae9b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044890c
test al, al
je 0x45ae8e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45aedc
lea eax, [ebp - 0x254]
call fcn.004095dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ae8e
xor eax, eax
push ebp
push 0x45ae87
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45af14
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ae70
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404708
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45ae70
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404708
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ae8e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45ad91
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004184d8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aed2
lea eax, [ebp - 0x260]
call fcn.004044a0
ret

Function at 0x45b800
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x491c34]
cmp byte [eax + 0xa5], 0
jne 0x45b871
cmp dword [0x491c4c], 0
jne 0x45b832
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45b7bc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x491c4c], eax
cmp dword [0x491c48], 0
jne 0x45b84d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x491c48], eax
cmp dword [0x491c50], 0
jne 0x45b871
push esp
push 0
push 0
push 0x45b760
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x491c50], eax
pop edx
ret
Function at 0x45b968
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45b97f
add esp, 0xfffffff0
call fcn.00403a14
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e408
mov eax, dword [0x490c90]
cmp word [eax + 2], 0
jne 0x45b9a7
mov eax, dword [0x490c90]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d044
mov eax, dword [0x490d5c]
cmp word [eax + 2], 0
jne 0x45b9c1
mov eax, dword [0x490d5c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d23c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413e18]
call fcn.00403680
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413e18]
call fcn.00403680
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4208d8]
call fcn.004280a8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45bb48
mov eax, dword [0x490b74]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428478
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45d7bc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x490b74]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d034
test eax, eax
je 0x45bab6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408efc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d05c
test eax, eax
je 0x45baca
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404708
mov eax, dword [0x4909ec]
cmp byte [eax], 0
jne 0x45bafe
mov eax, ebx
call fcn.0045bc70
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045d998
mov eax, ebx
call fcn.0045e2d8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45bb3e
call fcn.00403a6c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bee4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x491c34]
cmp dword [eax + 0x30], 0
je 0x45bf8e
cmp dword [ebx + 0x94], 0
jne 0x45bf88
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45be74
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45bf88
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45bf4e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45bf88
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00416514
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45bf5d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45ca6c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45caa1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404590
jmp 0x45caae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45db74
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45dbb5
mov eax, esi
call fcn.00444088
test al, al
je 0x45dbb5
mov eax, dword [ebx + 0x84]
call fcn.00443d84
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45dbb5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443d84
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45f00c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f148
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x45f160
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.00460718
mov eax, dword [ebp - 4]
call fcn.0045ffa8
xor edx, edx
push ebp
push 0x45f12b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x45f0ca
test si, si
jne 0x45f07c
mov eax, dword [ebp - 8]
call fcn.00408ec0
mov esi, eax
cmp esi, 0xffff
jbe 0x45f07c
call fcn.004035f0
movzx ebx, si
push 0
push ebx
movzx eax, si
sub eax, ebx
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x45f0ca
cmp eax, 0xffffffff
jle 0x45f0ab
sub ebx, eax
jmp 0x45f0ba
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0046064c
test ebx, ebx
je 0x45f0ca
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x45f07f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x45f115
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x45f178
mov dl, 1
mov eax, dword [0x45e5f4]
call fcn.0040c328
call fcn.00403e7c
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x45f115
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f132
mov eax, dword [ebp - 4]
call fcn.00460000
ret
Function at 0x45f678
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404940
xor eax, eax
push ebp
push 0x45f840
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x45f858
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.00460718
push 0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x414508]
call fcn.00418a98
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x45f7d0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x45f78b
mov eax, dword [ebp - 4]
lea edx, [eax + 0x30]
mov ecx, 0x10000
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
push 0
push ebx
mov eax, dword [ebp - 0x10]
sub eax, ebx
cmp eax, 0x10000
jbe 0x45f70f
call fcn.004035f0
mov edx, dword [ebp - 4]
lea eax, [edx + eax + 0x30]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x45f78b
cmp eax, 0xffffffff
jle 0x45f75c
sub ebx, eax
mov edx, dword [ebp - 4]
add dword [edx + 0x1008c], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x100ca], 0
je 0x45f76b
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x100cc]
call dword [esi + 0x100c8]
jmp 0x45f76b
lea ecx, [ebp - 0x14]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0046064c
mov eax, dword [0x490d38]
mov eax, dword [eax]
call fcn.0045cd98
test ebx, ebx
je 0x45f78b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x45f6fb
mov eax, dword [ebp - 0xc]
call fcn.00418588
push edx
push eax
mov eax, dword [ebp - 0xc]
call fcn.004185bc
cmp edx, dword [esp + 4]
jne 0x45f7a6
cmp eax, dword [esp]
pop edx
pop eax
je 0x45f7ba
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x45f6d2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f7d7
mov eax, dword [ebp - 0xc]
call fcn.004036b0
ret
Function at 0x45f880
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404940
xor eax, eax
push ebp
push 0x45fa56
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x45fa6c
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.00460718
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x100bc], edx
mov eax, dword [ebp - 4]
call fcn.0045ffa8
xor eax, eax
push ebp
push 0x45fa31
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x414508]
call fcn.00418a98
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45f9c9
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x45f9a3
push 0
push 0x10000
mov eax, dword [ebp - 4]
add eax, 0x30
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
jle 0x45f967
mov eax, dword [ebp - 4]
lea edx, [eax + 0x30]
mov ecx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004187ec
mov eax, dword [ebp - 4]
add dword [eax + 0x100bc], ebx
mov eax, dword [ebp - 4]
cmp word [eax + 0x100c2], 0
je 0x45f95f
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x100c4]
call dword [esi + 0x100c0]
mov eax, dword [ebp - 4]
call fcn.0045ffa8
cmp ebx, 0xffffffff
jne 0x45f993
call sub.wsock32.dll_WSAGetLastError
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10094], esi
cmp esi, 0x2749
je 0x45f9b3
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0046064c
test ebx, ebx
je 0x45f9b3
mov eax, dword [0x490d38]
mov eax, dword [eax]
call fcn.0045cd98
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x45f903
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f9d0
mov eax, dword [ebp - 0xc]
call fcn.004036b0
ret
Function at 0x45fa94
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45fc69
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x45fc80
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.00460718
mov eax, esi
call fcn.004044a0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x100bc], edx
mov eax, dword [ebp - 4]
call fcn.0045ffa8
xor eax, eax
push ebp
push 0x45fc4c
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x45fbc5
push 0
push 0x10000
mov eax, dword [ebp - 4]
add eax, 0x30
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
je 0x45fbeb
cmp ebx, 1
jle 0x45fb8f
mov eax, dword [esi]
call fcn.00404758
mov edi, eax
lea edx, [edi + ebx]
mov eax, esi
call fcn.00404adc
mov eax, esi
call fcn.004049a8
inc edi
dec edi
test eax, eax
je 0x45fb46
cmp edi, dword [eax - 4]
jb 0x45fb4b
call fcn.004035f0
inc edi
lea edx, [eax + edi - 1]
mov eax, dword [ebp - 4]
add eax, 0x30
mov ecx, ebx
call fcn.004028fc
mov eax, dword [ebp - 4]
add dword [eax + 0x100bc], ebx
mov eax, dword [ebp - 4]
cmp word [eax + 0x100c2], 0
je 0x45fb85
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x100c4]
call dword [ebx + 0x100c0]
mov eax, dword [ebp - 4]
call fcn.0045ffa8
jmp 0x45fbb9
inc ebx
jne 0x45fbb9
call sub.wsock32.dll_WSAGetLastError
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10094], ebx
cmp ebx, 0x2749
je 0x45fbeb
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0046064c
mov eax, dword [0x490d38]
mov eax, dword [eax]
call fcn.0045cd98
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x45fbeb
cmp dword [ebp - 8], 0xffffffff
je 0x45faf4
mov eax, dword [esi]
call fcn.00404758
cmp eax, dword [ebp - 8]
jl 0x45faf4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x45fc36
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x45fc98
mov dl, 1
mov eax, dword [0x45e5f4]
call fcn.0040c328
call fcn.00403e7c
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x45fc36
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fc53
mov eax, dword [ebp - 4]
call fcn.00460000
ret
Function at 0x460554
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x460620
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x460634
mov dl, 4
mov eax, ebx
call fcn.00460718
mov byte [ebx + 0x10298], 0
mov si, word [ebx + 0x10290]
cmp si, 0xffff
je 0x46060a
movzx eax, si
push eax
call sub.wsock32.dll_closesocket
test eax, eax
jne 0x4605fc
test byte [ebx + 0x1c], 8
jne 0x4605b9
cmp word [ebx + 0x10052], 0
je 0x4605b9
mov edx, ebx
mov eax, dword [ebx + 0x10054]
call dword [ebx + 0x10050]
cmp byte [ebx + 0x10091], 0
jne 0x46060a
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x4605dc
call fcn.004035f0
mov word [ebx + 0x10290], si
push 0x3d
push 0x465
mov eax, dword [ebx + 0x10294]
push eax
movzx eax, si
push eax
call sub.wsock32.dll_WSAAsyncSelect
jmp 0x46060a
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.0046064c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460627
lea eax, [ebp - 4]
call fcn.004044a0
ret

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

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x4607fc
mov dl, 8
mov eax, ebx
call fcn.00460718
push 2
push 1
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_recv
test eax, eax
jle 0x4607ee
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x467f6c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x467f9a
mov eax, ebx
call fcn.00468a24
cmp dword [ebx + 0x3c], 0
je 0x467f93
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46800b
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x467ffd
cmp dword [ebx + 8], 0
je 0x467fbc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x467fce
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x467ffd
cmp dword [ebx + 8], 0
je 0x467faf
cmp eax, 3
je 0x467fe1
dec eax
jne 0x467faf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x467faf
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x467faf
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x468029
cmp dword [ebx + 0x10], 0xcc
je 0x468029
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00468034
pop ebx
ret
Function at 0x487dd4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
mov edx, ebx
add edx, 4
mov eax, esi
call fcn.00404adc
mov eax, esi
call fcn.004049a8
push eax
mov edx, ebx
add edx, 2
xor ecx, ecx
pop eax
call fcn.00402fa0
cmp byte [ebp - 1], 0
jne 0x487e47
mov eax, esi
call fcn.004049a8
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x487e60
sub al, 2
jb 0x487e67
jmp 0x487e6c
mov ebx, 2
jmp 0x487e6c
mov ebx, 1
mov eax, esi
call fcn.004049a8
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x487f4e
test edi, edi
jle 0x487ec8
mov eax, esi
call fcn.004049a8
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.004049a8
mov byte [eax + ebx - 1], 0
jmp 0x487f42
test edi, edi
jge 0x487f0e
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.004049a8
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x487f42
mov eax, esi
call fcn.004049a8
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.004049a8
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x487e84
mov al, byte [ebp - 1]
sub al, 1
jb 0x487f5e
sub al, 2
jb 0x487f97
jmp 0x487fde
cmp edi, 2
jne 0x487f64
dec ebx
mov eax, ebx
sub eax, 2
jl 0x487fde
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.004049a8
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x490994]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x487f74
jmp 0x487fde
cmp edi, 2
jne 0x487f9d
dec ebx
test ebx, ebx
jle 0x487fd9
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.004049a8
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x490998]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x487fa9
jmp 0x487fd9
inc ebx
mov eax, esi
call fcn.004049a8
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x487fcc
mov eax, esi
mov edx, ebx
call fcn.00404adc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4