joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44decc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48c908]
cmp byte [eax + 0xc], 0
je 0x44e039
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e032
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48db9c], 0
jne 0x44df20
push 0x44e040
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44e048
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48db9c], eax
cmp dword [0x487d48], 0
jne 0x44e01b
push 0x44e058
call sub.kernel32.dll_LoadLibraryA
mov dword [0x487d48], eax
cmp dword [0x487d48], 0
je 0x44e01b
push 0x44e064
mov eax, dword [0x487d48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dba0], eax
push 0x44e074
mov eax, dword [0x487d48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dba4], eax
push 0x44e088
mov eax, dword [0x487d48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dba8], eax
push 0x44e0a0
mov eax, dword [0x487d48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbac], eax
push 0x44e0b8
mov eax, dword [0x487d48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbb0], eax
push 0x44e0cc
mov eax, dword [0x487d48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbb4], eax
push 0x44e0e4
mov eax, dword [0x487d48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbb8], eax
push 0x44e0fc
mov eax, dword [0x487d48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbbc], eax
push 0x44e118
mov eax, dword [0x487d48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbc0], eax
push 0x44e124
mov eax, dword [0x487d48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e039
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x452398
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.00404138
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4523e7
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.004043a8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x459b2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x459b7c]
test si, 4
je 0x459b40
or bl, 1
test si, 8
je 0x459b4a
or bl, 4
test si, 1
je 0x459b54
or bl, 8
test si, 2
je 0x459b5e
or bl, 0x10
test si, 0x10
je 0x459b68
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459b77
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x459b80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x459bb8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459b99
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459ba8
or bl, 4
test esi, 0x20000000
je 0x459bb3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x460260
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x460272
add esp, 0xfffffff0
call fcn.00403688
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041af20
mov eax, dword [0x48c544]
mov dword [eax + 4], ebx
mov dword [eax], 0x460604
mov eax, dword [0x48c554]
mov dword [eax + 4], ebx
mov dword [eax], 0x460610
mov eax, ebx
call fcn.0046061c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412088]
call fcn.00403334
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412088]
call fcn.00403334
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412088]
call fcn.00403334
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412088]
call fcn.00403334
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412088]
call fcn.00403334
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, 0x45ca38
push eax
push 0
push 0
mov eax, dword [0x48c6c8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41c9ec]
call fcn.0041e160
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41c9ec]
call fcn.0041e160
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41c9ec]
call fcn.0041e160
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00460a3c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460918
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460918
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460918
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4603af
call fcn.004036e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4606fc
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 0x4608a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460888
mov dl, 1
mov eax, dword [0x412630]
call fcn.00403334
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404138
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460877
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.0044e22c
test al, al
je 0x46086a
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, 0x4608b8
lea eax, [ebp - 0x254]
call fcn.004090d4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46086a
xor eax, eax
push ebp
push 0x460863
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 0x4608f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46084c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043a8
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 0x46084c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46086a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46076d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416af0
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 0x4608ae
lea eax, [ebp - 0x260]
call fcn.00404138
ret

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

Disassembly:
push ecx
mov eax, dword [0x48dbe8]
cmp byte [eax + 0xa5], 0
jne 0x46124d
cmp dword [0x48dc00], 0
jne 0x46120e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x461198
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48dc00], eax
cmp dword [0x48dbfc], 0
jne 0x461229
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48dbfc], eax
cmp dword [0x48dc04], 0
jne 0x46124d
push esp
push 0
push 0
push 0x46113c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x48dc04], eax
pop edx
ret
Function at 0x461344
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46135b
add esp, 0xfffffff0
call fcn.00403688
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041af20
mov eax, dword [0x48c6b4]
cmp word [eax + 2], 0
jne 0x461383
mov eax, dword [0x48c6b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462ac4
mov eax, dword [0x48c770]
cmp word [eax + 2], 0
jne 0x46139d
mov eax, dword [0x48c770]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462cbc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412088]
call fcn.00403334
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412088]
call fcn.00403334
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 [0x41d4cc]
call fcn.00424c8c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x461524
mov eax, dword [0x48c5b0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042505c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46325c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48c5b0]
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.0040ca2c
test eax, eax
je 0x461492
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ab4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ca54
test eax, eax
je 0x4614a6
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.004043a8
mov eax, dword [0x48c468]
cmp byte [eax], 0
jne 0x4614da
mov eax, ebx
call fcn.0046164c
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.00463438
mov eax, ebx
call fcn.00463dfc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46151a
call fcn.004036e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4618cc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48dbe8]
cmp dword [eax + 0x30], 0
je 0x461976
cmp dword [ebx + 0x94], 0
jne 0x461970
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46185c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461970
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 0x461936
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461970
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.004145d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461945
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4624d8
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 0x46250d
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.00404228
jmp 0x46251a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040418c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463614
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x463655
mov eax, esi
call fcn.004497d0
test al, al
je 0x463655
mov eax, dword [ebx + 0x84]
call fcn.004494cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463655
push 0
mov eax, dword [ebx + 0x84]
call fcn.004494cc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x465320
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 0x465580
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x465383
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00464de8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c5a0
cmp al, 1
jne 0x465383
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00465100
test al, al
je 0x46550f
cmp dword [ebp - 8], 0
jge 0x4653a1
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.00464de8
mov eax, dword [ebp - 0x210]
call fcn.004043f8
cmp ebx, eax
jge 0x4653eb
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00464de8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x48c8e8]
and eax, 0xff
bt dword [edx], eax
jae 0x4653eb
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4653ff
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004652fc
cmp ebx, dword [ebp - 8]
je 0x465501
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 0x46542b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403560
and eax, 0x7f
movzx eax, word [eax*2 + 0x487f88]
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 0x4654ee
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403560
and eax, 0x7f
movzx eax, word [eax*2 + 0x487f88]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004494cc
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403560
and eax, 0x7f
movzx eax, word [eax*2 + 0x487f88]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004494cc
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4654f5
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 0x465562
cmp dword [ebp - 8], 0
jge 0x46551a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00464de8
mov eax, dword [ebp - 0x218]
call fcn.004043f8
cmp eax, dword [ebp - 8]
jg 0x465554
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00464de8
mov eax, dword [ebp - 0x21c]
call fcn.004043f8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004652fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465587
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.0040415c
ret
Function at 0x473580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045e8
mov eax, dword [ebp - 8]
call fcn.004045e8
xor eax, eax
push ebp
push 0x473635
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004043f8
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004734f4
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.004041d0
mov eax, edi
call fcn.00404138
mov eax, dword [ebp - 4]
call fcn.004043f8
mov esi, eax
test esi, esi
jle 0x47361a
mov ebx, 1
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + ebx - 1]
xor dl, cl
call fcn.00404320
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00404400
inc ebx
dec esi
jne 0x4735f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47363c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040415c
ret

Function at 0x47390c
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 0x47391f
mov edx, 0x10
lea ecx, [eax + 0x58]
xor ebx, ebx
mov dword [ecx], ebx
add ecx, 4
dec edx
jne 0x47392e
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebx
ret
Function at 0x47443c
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.004045e8
mov eax, dword [ebp - 8]
call fcn.004045e8
xor eax, eax
push ebp
push 0x4745b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004043f8
cmp eax, 0x40
jle 0x4744a8
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 8]
call fcn.00474400
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 8]
call fcn.004041d0
lea ecx, [ebp - 0xc]
mov edx, 0x40
mov al, 0x36
call fcn.004047e8
lea ecx, [ebp - 0x10]
mov edx, 0x40
mov al, 0x5c
call fcn.004047e8
mov eax, dword [ebp - 8]
call fcn.004043f8
mov esi, eax
test esi, esi
jle 0x474511
mov ebx, 1
lea eax, [ebp - 0xc]
call fcn.00404650
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.00404650
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 0x4744d9
lea eax, [ebp - 0xac]
call fcn.0047390c
mov ebx, 0x473a40
mov ecx, ebx
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0xc]
call fcn.0047415c
mov ecx, ebx
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 4]
call fcn.0047415c
lea ecx, [ebp - 0x14]
mov edx, ebx
lea eax, [ebp - 0xac]
call fcn.00474284
lea eax, [ebp - 0xac]
call fcn.0047390c
mov ecx, ebx
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0x10]
call fcn.0047415c
mov ecx, ebx
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0x14]
call fcn.0047415c
mov ecx, edi
mov edx, ebx
lea eax, [ebp - 0xac]
call fcn.00474284
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4745b8
lea eax, [ebp - 0xb0]
call fcn.00404138
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040415c
ret
Function at 0x474b90
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.004045e8
mov eax, dword [ebp - 8]
call fcn.004045e8
xor eax, eax
push ebp
push 0x474cf4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004043f8
cmp eax, 0x40
jle 0x474bfc
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 8]
call fcn.00474b68
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 8]
call fcn.004041d0
lea ecx, [ebp - 0xc]
mov edx, 0x40
mov al, 0x36
call fcn.004047e8
lea ecx, [ebp - 0x10]
mov edx, 0x40
mov al, 0x5c
call fcn.004047e8
mov eax, dword [ebp - 8]
call fcn.004043f8
mov esi, eax
test esi, esi
jle 0x474c65
mov ebx, 1
lea eax, [ebp - 0xc]
call fcn.00404650
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.00404650
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 0x474c2d
lea eax, [ebp - 0x88]
call fcn.00474690
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0xc]
call fcn.004749c4
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 4]
call fcn.004749c4
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x88]
call fcn.00474a5c
lea eax, [ebp - 0x88]
call fcn.00474690
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x10]
call fcn.004749c4
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x14]
call fcn.004749c4
mov edx, edi
lea eax, [ebp - 0x88]
call fcn.00474a5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474cfb
lea eax, [ebp - 0x8c]
call fcn.00404138
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040415c
ret

Function at 0x47c1d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ecx, eax
xor eax, eax
push ebp
push 0x47c265
push dword fs:[eax]
mov dword fs:[eax], esp
test ecx, ecx
setl byte [ebp - 1]
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
mov ebx, eax
cmp byte [ebp - 1], 0
je 0x47c208
dec ebx
not ebx
mov eax, esi
call fcn.00404138
mov edi, ebx
and edi, 0xff
shr ebx, 8
lea eax, [ebp - 8]
mov edx, edi
call fcn.00404320
mov edx, dword [ebp - 8]
mov ecx, dword [esi]
mov eax, esi
call fcn.00404444
test ebx, ebx
jne 0x47c20f
cmp byte [ebp - 1], 0
jne 0x47c24f
mov eax, dword [esi]
cmp byte [eax], 0x7f
jbe 0x47c24f
mov ecx, dword [esi]
mov eax, esi
mov edx, 0x47c27c
call fcn.00404444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c26c
lea eax, [ebp - 8]
call fcn.00404138
ret
Function at 0x47ea88
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jb 0x47eadc
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x48b3b8]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x48b7b8]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x48bbb8]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x48bfb8]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x47ea97
pop edi
pop esi
pop ebx
ret

Function at 0x484f04
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffd6c
mov ebx, eax
lea eax, [esp + 4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x484f2e
mov eax, ebx
mov edx, 0x484f80
call fcn.0040418c
jmp 0x484f68
push pe_nt_image_headers32
lea eax, [esp + 0x198]
push eax
call sub.wsock32.dll_gethostname
lea eax, [esp + 0x194]
push eax
call sub.wsock32.dll_gethostbyname
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp], eax
push dword [esp]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00404330
call sub.wsock32.dll_WSACleanup
add esp, 0x294
pop ebx
ret