joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445988
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4459a4
cmp dword [esi + 4], 0
je 0x4459d1
test byte [ebx + 0x55], 1
jne 0x4459c3
mov eax, ebx
call fcn.00444528
test eax, eax
jne 0x4459c3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x445ae1
mov edx, esi
mov eax, ebx
call fcn.004454ac
jmp 0x445ae1
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x445ada
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004477f8
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004421c4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00445988
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004477f8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445ae1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c1f8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4811ac]
cmp byte [eax + 0xc], 0
je 0x44c365
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44c35e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x482b64], 0
jne 0x44c24c
push 0x44c36c
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x44c374
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b64], eax
cmp dword [0x47fd50], 0
jne 0x44c347
push 0x44c384
call sub.kernel32.dll_LoadLibraryA
mov dword [0x47fd50], eax
cmp dword [0x47fd50], 0
je 0x44c347
push 0x44c390
mov eax, dword [0x47fd50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b68], eax
push 0x44c3a0
mov eax, dword [0x47fd50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b6c], eax
push 0x44c3b4
mov eax, dword [0x47fd50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b70], eax
push 0x44c3cc
mov eax, dword [0x47fd50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b74], eax
push 0x44c3e4
mov eax, dword [0x47fd50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b78], eax
push 0x44c3f8
mov eax, dword [0x47fd50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b7c], eax
push 0x44c410
mov eax, dword [0x47fd50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b80], eax
push 0x44c428
mov eax, dword [0x47fd50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b84], eax
push 0x44c444
mov eax, dword [0x47fd50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b88], eax
push 0x44c450
mov eax, dword [0x47fd50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c365
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4506c4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404ab8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x450713
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404d28
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x457eec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457f3c]
test si, 4
je 0x457f00
or bl, 1
test si, 8
je 0x457f0a
or bl, 4
test si, 1
je 0x457f14
or bl, 8
test si, 2
je 0x457f1e
or bl, 0x10
test si, 0x10
je 0x457f28
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457f37
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x457f40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457f78]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457f59
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457f68
or bl, 4
test esi, 0x20000000
je 0x457f73
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45e63c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45e64e
add esp, 0xfffffff0
call fcn.00403fbc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041aaf4
mov eax, dword [0x480de0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e9e0
mov eax, dword [0x480df0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e9ec
mov eax, ebx
call fcn.0045e9f8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412be4]
call fcn.00403c54
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412be4]
call fcn.00403c54
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412be4]
call fcn.00403c54
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412be4]
call fcn.00403c54
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412be4]
call fcn.00403c54
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, 0x45ae10
push eax
push 0
push 0
mov eax, dword [0x480f80]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41c640]
call fcn.0041dd00
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41c640]
call fcn.0041dd00
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41c640]
call fcn.0041dd00
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045ee48
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ed10
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ed10
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ed10
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e78b
call fcn.00404014
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45eaf4
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 0x45ec9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ec80
mov dl, 1
mov eax, dword [0x413000]
call fcn.00403c54
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404ab8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ec6f
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.0044c558
test al, al
je 0x45ec62
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, 0x45ecb0
lea eax, [ebp - 0x254]
call fcn.004098fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ec62
xor eax, eax
push ebp
push 0x45ec5b
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 0x45ece8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ec44
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d28
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 0x45ec44
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ec62
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45eb65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416b7c
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 0x45eca6
lea eax, [ebp - 0x260]
call fcn.00404ab8
ret

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

Disassembly:
push ecx
mov eax, dword [0x482bb0]
cmp byte [eax + 0xa5], 0
jne 0x45f659
cmp dword [0x482bc8], 0
jne 0x45f61a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45f5a4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x482bc8], eax
cmp dword [0x482bc4], 0
jne 0x45f635
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x482bc4], eax
cmp dword [0x482bcc], 0
jne 0x45f659
push esp
push 0
push 0
push 0x45f548
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x482bcc], eax
pop edx
ret
Function at 0x45fcec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x482bb0]
cmp dword [eax + 0x30], 0
je 0x45fd96
cmp dword [ebx + 0x94], 0
jne 0x45fd90
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45fc7c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45fd90
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 0x45fd56
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45fd90
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.00414f60
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45fd65
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4608f4
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 0x460929
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.00404ba8
jmp 0x460936
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b0c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46196c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4619ad
mov eax, esi
call fcn.00447afc
test al, al
je 0x4619ad
mov eax, dword [ebx + 0x84]
call fcn.004477f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4619ad
push 0
mov eax, dword [ebx + 0x84]
call fcn.004477f8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x463c70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463ed0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x463cd3
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00463738
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040ce5c
cmp al, 1
jne 0x463cd3
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00463a50
test al, al
je 0x463e5f
cmp dword [ebp - 8], 0
jge 0x463cf1
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00463738
mov eax, dword [ebp - 0x210]
call fcn.00404d78
cmp ebx, eax
jge 0x463d3b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00463738
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x481190]
and eax, 0xff
bt dword [edx], eax
jae 0x463d3b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x463d4f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00463c4c
cmp ebx, dword [ebp - 8]
je 0x463e51
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x463d7b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e8c
and eax, 0x7f
movzx eax, word [eax*2 + 0x47ff98]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x463e3e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e8c
and eax, 0x7f
movzx eax, word [eax*2 + 0x47ff98]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004477f8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e8c
and eax, 0x7f
movzx eax, word [eax*2 + 0x47ff98]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004477f8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463e45
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x463eb2
cmp dword [ebp - 8], 0
jge 0x463e6a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00463738
mov eax, dword [ebp - 0x218]
call fcn.00404d78
cmp eax, dword [ebp - 8]
jg 0x463ea4
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00463738
mov eax, dword [ebp - 0x21c]
call fcn.00404d78
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00463c4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463ed7
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404adc
ret
Function at 0x46db24
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x46dbae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
call fcn.0046d274
mov eax, dword [ebp - 0x14]
mov ecx, 2
mov edx, 1
call fcn.00404fd8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.0040d194
mov eax, dword [ebp - 8]
call fcn.00404f78
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
je 0x46db86
cmp dword [ebp - 0xc], 2
je 0x46db86
xor eax, eax
jmp 0x46db88
mov al, 1
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dbb5
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404adc
lea eax, [ebp - 8]
call fcn.00404ab8
ret
Function at 0x47896c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x478b5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004787dc
test al, al
je 0x4789a8
mov byte [ebp - 6], 1
jmp 0x478b43
mov byte [ebp - 6], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x478b43
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call fcn.00404b50
xor eax, eax
push ebp
push 0x4789f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
call fcn.00404f78
push eax
mov eax, dword [0x480ef4]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4789fc
cmp dword [ebp - 0x1c], 0
setne byte [ebp - 6]
cmp byte [ebp - 6], 0
je 0x478a53
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 1]
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 2]
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 3]
mov byte [ebp - 0x15], al
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x18]
call fcn.004788b8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00404b0c
jmp 0x478b43
cmp byte [ebp - 5], 0
jne 0x478a6c
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [0x4811a8]
cmp eax, dword [edx]
jne 0x478b43
xor eax, eax
push ebp
push 0x478b39
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x478580]
call fcn.0045949c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x478b28
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [0x482e5c], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
call fcn.00478b70
jmp 0x478acf
mov eax, dword [0x481000]
mov eax, dword [eax]
call fcn.00460ba4
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x2fc], 0
je 0x478ade
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0xc]
cmp eax, 0x7530
jl 0x478ab7
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x2f8]
call fcn.00404b0c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x2fd], 0
jne 0x478b06
mov eax, dword [0x482e60]
push eax
call sub.wsock32.dll_WSACancelAsyncRequest
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x2fd]
mov byte [ebp - 6], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478b2f
mov eax, dword [ebp - 0x10]
call fcn.00403c84
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478b65
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404adc
ret
Function at 0x479ea8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x45], 0
je 0x479f96
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4c], 0
je 0x479f96
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x50]
jl 0x479f96
xor eax, eax
push ebp
push 0x479f8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x7c]
test eax, eax
jle 0x479f76
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 8]
cmp byte [eax + edx], 0
je 0x479f4e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 8]
cmp byte [eax + edx], 0
jne 0x479f4e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 8]
cmp byte [eax + edx], 0
jne 0x479f4e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
call fcn.004796d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 8]
mov byte [eax + edx], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 8]
mov byte [eax + edx], 0
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0x479f0a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479f96
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
ret
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x52], 0
je 0x47a429
mov eax, dword [ebp - 4]
cmp byte [eax + 0x50], 0
je 0x47a429
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x47a429
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x54]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x18]
jl 0x47a429
xor eax, eax
push ebp
push 0x47a422
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0047a228
test al, al
jne 0x47a409
mov eax, dword [ebp - 4]
mov byte [eax + 0x50], 0
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0047a164
mov eax, dword [ebp - 4]
mov byte [eax + 0x53], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x32], 0
je 0x47a409
mov ebx, dword [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call dword [ebx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a429
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
ret
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x47a430
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x53], 0
je 0x47a4cf
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x47a4cf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x50], 0
jne 0x47a4cf
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x58]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x10]
jl 0x47a4cf
xor eax, eax
push ebp
push 0x47a4c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x52], 0
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0047a164
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 4]
call fcn.00479ff8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a4cf
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x47acd4
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
lea eax, [ebp - 0x194]
push eax
push 0x202
call sub.wsock32.dll_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47ad27
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47ad27
mov ecx, 0x47ad34
mov dl, 1
mov eax, dword [0x478e1c]
call fcn.0040c4a0
call fcn.00404424
mov esp, ebp
pop ebp
ret
Function at 0x403ecc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor ebx, ebx
mov eax, 0x811c9dc5
mov ebp, 0x1000193
xor al, byte [esi + ebx]
mul ebp
inc bl
cmp bl, cl
jb 0x403ed8
ret