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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x49784c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49782d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49783c
or bl, 4
test esi, 0x20000000
je 0x497847
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x49789c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00497850
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x49df14
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x49df26
add esp, 0xfffffff0
call fcn.00403f7c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424d00
mov eax, dword [0x54418c]
mov dword [eax + 4], ebx
mov dword [eax], 0x49e2b8
mov eax, dword [0x544198]
mov dword [eax + 4], ebx
mov dword [eax], 0x49e2c4
mov eax, ebx
call fcn.0049e2d0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419160]
call fcn.00403be8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419160]
call fcn.00403be8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419160]
call fcn.00403be8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419160]
call fcn.00403be8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419160]
call fcn.00403be8
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, 0x49a6ec
push eax
push 0
push 0
mov eax, dword [0x54439c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426e5c]
call fcn.00428670
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426e5c]
call fcn.00428670
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426e5c]
call fcn.00428670
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0049e7c8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49e65c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49e65c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49e65c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49e063
call fcn.00403fd4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49e440
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 0x49e5eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x49e5cc
mov dl, 1
mov eax, dword [0x4197c4]
call fcn.00403be8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a2c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x49e5bb
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.0048b504
test al, al
je 0x49e5ae
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, 0x49e5fc
lea eax, [ebp - 0x254]
call fcn.0040a5f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x49e5ae
xor eax, eax
push ebp
push 0x49e5a7
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 0x49e634
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49e590
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c9c
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 0x49e590
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e5ae
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x49e4b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e608
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 0x49e5f2
lea eax, [ebp - 0x260]
call fcn.00404a2c
ret

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

Disassembly:
push ecx
mov eax, dword [0x545c18]
cmp byte [eax + 0xa5], 0
jne 0x49efd9
cmp dword [0x545c30], 0
jne 0x49ef9a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x49ef24
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x545c30], eax
cmp dword [0x545c2c], 0
jne 0x49efb5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x545c2c], eax
cmp dword [0x545c34], 0
jne 0x49efd9
push esp
push 0
push 0
push 0x49eec8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x545c34], eax
pop edx
ret
Function at 0x49f100
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x49f117
add esp, 0xfffffff0
call fcn.00403f7c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424d00
mov eax, dword [0x544380]
cmp word [eax + 2], 0
jne 0x49f13f
mov eax, dword [0x544380]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a0880
mov eax, dword [0x5444b0]
cmp word [eax + 2], 0
jne 0x49f159
mov eax, dword [0x5444b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a0a78
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419160]
call fcn.00403be8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419160]
call fcn.00403be8
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], 0xff000018
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 [0x4279dc]
call fcn.0042f6f0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x49f2e0
mov eax, dword [0x54421c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042fac0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a1028
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x54421c]
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.0040efa8
test eax, eax
je 0x49f24e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409f8c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040efd0
test eax, eax
je 0x49f262
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.00404c9c
mov eax, dword [0x544028]
cmp byte [eax], 0
jne 0x49f296
mov eax, ebx
call fcn.0049f408
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.004a1204
mov eax, ebx
call fcn.004a1c18
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49f2d6
call fcn.00403fd4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49f688
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x545c18]
cmp dword [eax + 0x30], 0
je 0x49f732
cmp dword [ebx + 0x94], 0
jne 0x49f72c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x49f618
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x49f72c
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 0x49f6f2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x49f72c
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.0041bbc4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x49f701
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a0294
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 0x4a02c9
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.00404b1c
jmp 0x4a02d6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a80
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4a13e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a1421
mov eax, esi
call fcn.00486a88
test al, al
je 0x4a1421
mov eax, dword [ebx + 0x84]
call fcn.00486784
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a1421
push 0
mov eax, dword [ebx + 0x84]
call fcn.00486784
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4a37dc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4186d8]
call fcn.004053ec
xor eax, eax
push ebp
push 0x4a3920
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x542460], 0
jne 0x4a382f
mov ecx, dword [0x544058]
mov dl, 1
mov eax, dword [0x408150]
call fcn.0040e134
call fcn.004043e4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403254
mov eax, ebx
call fcn.004052bc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4a3930
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406494
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004052cc
test eax, eax
jle 0x4a38c7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4a38c0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404cb4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404c9c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004090a4
test eax, eax
jne 0x4a38c0
mov ebx, 0x15
jmp 0x4a38cc
mov ebx, 0x10
jmp 0x4a38cc
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x542460]
call fcn.004a3734
mov eax, dword [ebp - 8]
call fcn.004a3734
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004064ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3927
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404a50
lea eax, [ebp - 0x10]
mov edx, dword [0x4186d8]
call fcn.004054bc
ret

Function at 0x4a6ef8
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebx + 0x58], eax
push 0
push 0x401
mov eax, dword [ebx + 0x30]
push eax
mov eax, dword [ebx + 0x48]
push eax
call sub.wsock32.dll_WSAAsyncSelect
push 2
mov eax, dword [ebx + 0x48]
push eax
call sub.wsock32.dll_shutdown
mov word [ebp - 4], 1
mov word [ebp - 2], 0
push 4
lea eax, [ebp - 4]
push eax
push 0x80
push 0xffff
mov eax, dword [ebx + 0x48]
push eax
call sub.wsock32.dll_setsockopt
mov eax, dword [ebx + 0x48]
push eax
call sub.wsock32.dll_closesocket
test eax, eax
je 0x4a6f68
call sub.wsock32.dll_WSAGetLastError
mov ecx, eax
mov edx, dword [ebx + 0x48]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4a6f6f
mov dword [ebx + 0x48], 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a6fc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
push 0
push edi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
call sub.wsock32.dll_recv
mov esi, eax
test esi, esi
jne 0x4a6ff9
mov edx, dword [ebx + 0x48]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x4a7014
cmp esi, 0xffffffff
jne 0x4a7014
call sub.wsock32.dll_WSAGetLastError
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4a704d
cmp edi, esi
setne al
and al, byte [ebp + 8]
je 0x4a704d
mov eax, dword [ebp - 8]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x5c], esi
jmp 0x4a7038
mov eax, dword [0x54447c]
mov eax, dword [eax]
call fcn.004a05d4
cmp dword [ebx + 0x58], 0
je 0x4a704a
cmp byte [ebx + 0x3c], 0
je 0x4a704a
test byte [ebx + 0x1c], 8
je 0x4a702c
mov esi, dword [ebx + 0x5c]
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4af650
Capabilities:
Hash data with md5

Disassembly:
push ebx
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
mov edx, 0x40
lea ecx, [eax + 0x18]
mov byte [ecx], 0
inc ecx
dec edx
jne 0x4af663
mov edx, 0x10
lea ecx, [eax + 0x58]
xor ebx, ebx
mov dword [ecx], ebx
add ecx, 4
dec edx
jne 0x4af672
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebx
ret

Function at 0x4b0180
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404edc
mov eax, dword [ebp - 8]
call fcn.00404edc
xor eax, eax
push ebp
push 0x4b02e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404cec
cmp eax, 0x40
jle 0x4b01ec
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 8]
call fcn.004b0150
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 8]
call fcn.00404ac4
lea ecx, [ebp - 0xc]
mov edx, 0x40
mov al, 0x36
call fcn.004050dc
lea ecx, [ebp - 0x10]
mov edx, 0x40
mov al, 0x5c
call fcn.004050dc
mov eax, dword [ebp - 8]
call fcn.00404cec
mov esi, eax
test esi, esi
jle 0x4b0255
mov ebx, 1
lea eax, [ebp - 0xc]
call fcn.00404f44
mov edx, dword [ebp - 0xc]
mov dl, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
lea eax, [ebp - 0x10]
call fcn.00404f44
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4b021d
lea eax, [ebp - 0xac]
call fcn.004af650
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0xc]
call fcn.004afea0
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 4]
call fcn.004afea0
lea edx, [ebp - 0x14]
lea eax, [ebp - 0xac]
call fcn.004affcc
lea eax, [ebp - 0xac]
call fcn.004af650
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0x10]
call fcn.004afea0
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0x14]
call fcn.004afea0
mov edx, edi
lea eax, [ebp - 0xac]
call fcn.004affcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b02eb
lea eax, [ebp - 0xb0]
call fcn.00404a2c
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404a50
ret
Function at 0x4b08b4
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404edc
mov eax, dword [ebp - 8]
call fcn.00404edc
xor eax, eax
push ebp
push 0x4b0a18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404cec
cmp eax, 0x40
jle 0x4b0920
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 8]
call fcn.004b088c
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 8]
call fcn.00404ac4
lea ecx, [ebp - 0xc]
mov edx, 0x40
mov al, 0x36
call fcn.004050dc
lea ecx, [ebp - 0x10]
mov edx, 0x40
mov al, 0x5c
call fcn.004050dc
mov eax, dword [ebp - 8]
call fcn.00404cec
mov esi, eax
test esi, esi
jle 0x4b0989
mov ebx, 1
lea eax, [ebp - 0xc]
call fcn.00404f44
mov edx, dword [ebp - 0xc]
mov dl, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
lea eax, [ebp - 0x10]
call fcn.00404f44
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4b0951
lea eax, [ebp - 0x88]
call fcn.004b03b4
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0xc]
call fcn.004b06e8
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 4]
call fcn.004b06e8
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x88]
call fcn.004b0780
lea eax, [ebp - 0x88]
call fcn.004b03b4
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x10]
call fcn.004b06e8
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x14]
call fcn.004b06e8
mov edx, edi
lea eax, [ebp - 0x88]
call fcn.004b0780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0a1f
lea eax, [ebp - 0x8c]
call fcn.00404a2c
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404a50
ret

Function at 0x4b3e28
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4b3ec3
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jle 0x4b3ead
call fcn.004ade90
cmp eax, dword [esi]
jae 0x4b3e8c
mov edx, dword [esi]
sub edx, eax
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jbe 0x4b3e8c
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xc]
call fcn.004095f4
mov ecx, dword [ebp - 0xc]
mov dl, 0xc
mov eax, edi
call fcn.004b58d4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_Sleep
fild dword [ebp - 4]
mov dword [ebp - 0x10], ebx
fild dword [ebp - 0x10]
fdivp st(1)
fmul dword [0x4b3ed4]
call fcn.00402c9c
mov ebx, eax
call fcn.004ade90
add ebx, eax
mov dword [esi], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3eca
lea eax, [ebp - 0xc]
call fcn.00404a2c
ret
Function at 0x4c243c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], ebx
mov word [ebp - 6], cx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c25ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 7], 0
mov bl, 6
lea eax, [ebp - 0xd]
mov byte [eax], 0
inc eax
dec bl
jne 0x4c2482
xor ebx, ebx
lea esi, [ebp - 0xd]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
mov edx, edi
call fcn.00404c24
mov eax, dword [ebp - 0x90]
xor edx, edx
mov dl, bl
imul edx, edx, 3
jno 0x4c24b7
call fcn.00403b58
add edx, 1
jno 0x4c24c1
call fcn.00403b58
mov ecx, 2
call fcn.00404f4c
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 0x4c261c
call fcn.00404d38
mov eax, dword [ebp - 0x88]
call fcn.00409644
mov byte [esi], al
inc ebx
inc esi
cmp bl, 6
jne 0x4c248f
mov bl, 6
lea eax, [ebp - 0x73]
mov byte [eax], 0xff
inc eax
dec bl
jne 0x4c24fa
xor eax, eax
xor ebx, ebx
lea edx, [ebp - 0xd]
xor ecx, ecx
mov cl, al
imul ecx, ecx, 6
jno 0x4c2517
call fcn.00403b58
mov esi, ebx
and esi, 0xff
add ecx, esi
jno 0x4c2528
call fcn.00403b58
lea esi, [ebp + ecx - 0x6d]
mov cl, byte [edx]
mov byte [esi], cl
inc ebx
inc edx
cmp bl, 6
jne 0x4c2509
inc eax
cmp al, 0x10
jne 0x4c2504
lea eax, [ebp - 0x84]
xor ecx, ecx
mov edx, 0x10
call fcn.00403254
mov word [ebp - 0x84], 2
cmp dword [ebp - 4], 0
je 0x4c257d
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 4]
call fcn.00404c24
mov eax, dword [ebp - 0x94]
mov edx, 0x4c2628
call fcn.00404e38
jne 0x4c2586
mov dword [ebp - 0x80], 0xffffffff
jmp 0x4c2592
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
xor ecx, ecx
mov edx, 8
call fcn.00403254
mov ax, word [ebp - 6]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x82], ax
push 0x10
lea eax, [ebp - 0x84]
push eax
push 0
push 0x66
lea eax, [ebp - 0x73]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.wsock32.dll_sendto
cmp eax, 0xffffffff
je 0x4c25d6
cmp eax, 0x66
je 0x4c25dd
call sub.wsock32.dll_WSAGetLastError
jmp 0x4c25e1
mov byte [ebp - 7], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2606
lea eax, [ebp - 0x94]
mov edx, 4
call fcn.00404a50
ret