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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4d4f94]
cmp byte [eax + 0xc], 0
je 0x449459
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449452
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d5b98], 0
jne 0x449340
push 0x449460
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x449468
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5b98], eax
cmp dword [0x4d2c58], 0
jne 0x44943b
push 0x449478
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4d2c58], eax
cmp dword [0x4d2c58], 0
je 0x44943b
push 0x449484
mov eax, dword [0x4d2c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5b9c], eax
push 0x449494
mov eax, dword [0x4d2c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5ba0], eax
push 0x4494a8
mov eax, dword [0x4d2c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5ba4], eax
push 0x4494c0
mov eax, dword [0x4d2c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5ba8], eax
push 0x4494d8
mov eax, dword [0x4d2c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5bac], eax
push 0x4494ec
mov eax, dword [0x4d2c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5bb0], eax
push 0x449504
mov eax, dword [0x4d2c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5bb4], eax
push 0x44951c
mov eax, dword [0x4d2c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5bb8], eax
push 0x449538
mov eax, dword [0x4d2c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5bbc], eax
push 0x449544
mov eax, dword [0x4d2c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5bc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449459
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44d4e0
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.00404194
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44d52f
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.00404404
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x454d08
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x454d58]
test si, 4
je 0x454d1c
or bl, 1
test si, 8
je 0x454d26
or bl, 4
test si, 1
je 0x454d30
or bl, 8
test si, 2
je 0x454d3a
or bl, 0x10
test si, 0x10
je 0x454d44
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454d53
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x454d5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x454d94]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454d75
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454d84
or bl, 4
test esi, 0x20000000
je 0x454d8f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45b43c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45b44e
add esp, 0xfffffff0
call fcn.004036c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f7f8
mov eax, dword [0x4d49dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b7e0
mov eax, dword [0x4d49ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b7ec
mov eax, ebx
call fcn.0045b7f8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4162ec]
call fcn.00403370
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4162ec]
call fcn.00403370
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4162ec]
call fcn.00403370
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4162ec]
call fcn.00403370
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4162ec]
call fcn.00403370
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, 0x457c14
push eax
push 0
push 0
mov eax, dword [0x4d4c30]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421294]
call fcn.00422aa8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421294]
call fcn.00422aa8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421294]
call fcn.00422aa8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045bc18
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45baf4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45baf4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45baf4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b58b
call fcn.0040371c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45b8d8
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 0x45ba83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ba64
mov dl, 1
mov eax, dword [0x416950]
call fcn.00403370
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404194
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ba53
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.0044964c
test al, al
je 0x45ba46
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, 0x45ba94
lea eax, [ebp - 0x254]
call fcn.004096fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ba46
xor eax, eax
push ebp
push 0x45ba3f
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 0x45bacc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ba28
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404404
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 0x45ba28
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ba46
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45b949
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b170
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 0x45ba8a
lea eax, [ebp - 0x260]
call fcn.00404194
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d5be4]
cmp byte [eax + 0xa5], 0
jne 0x45c429
cmp dword [0x4d5bfc], 0
jne 0x45c3ea
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45c374
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d5bfc], eax
cmp dword [0x4d5bf8], 0
jne 0x45c405
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d5bf8], eax
cmp dword [0x4d5c00], 0
jne 0x45c429
push esp
push 0
push 0
push 0x45c318
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d5c00], eax
pop edx
ret
Function at 0x45c520
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c537
add esp, 0xfffffff0
call fcn.004036c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f7f8
mov eax, dword [0x4d4c10]
cmp word [eax + 2], 0
jne 0x45c55f
mov eax, dword [0x4d4c10]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045dca0
mov eax, dword [0x4d4d44]
cmp word [eax + 2], 0
jne 0x45c579
mov eax, dword [0x4d4d44]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045de98
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4162ec]
call fcn.00403370
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4162ec]
call fcn.00403370
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 [0x421e14]
call fcn.0042a478
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45c700
mov eax, dword [0x4d4a94]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a848
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45e448
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d4a94]
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.0040d0a4
test eax, eax
je 0x45c66e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004090dc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d0cc
test eax, eax
je 0x45c682
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.00404404
mov eax, dword [0x4d4868]
cmp byte [eax], 0
jne 0x45c6b6
mov eax, ebx
call fcn.0045c828
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.0045e624
mov eax, ebx
call fcn.0045efe8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c6f6
call fcn.0040371c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45caa8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d5be4]
cmp dword [eax + 0x30], 0
je 0x45cb52
cmp dword [ebx + 0x94], 0
jne 0x45cb4c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45ca38
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45cb4c
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 0x45cb12
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45cb4c
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.004189f0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45cb21
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d6b4
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 0x45d6e9
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.00404284
jmp 0x45d6f6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041e8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45e800
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e841
mov eax, esi
call fcn.00444c84
test al, al
je 0x45e841
mov eax, dword [ebx + 0x84]
call fcn.00444980
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e841
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444980
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45f5a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404644
xor eax, eax
push ebp
push 0x45f619
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404454
mov esi, eax
test esi, esi
jle 0x45f5f9
mov ebx, 1
lea eax, [ebp - 4]
call fcn.004046ac
mov edx, ebx
add dl, 3
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x45f5dd
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004041e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f620
lea eax, [ebp - 4]
call fcn.00404194
ret
Function at 0x45fda8
Capabilities:
Get routing table

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc4
mov ebp, eax
xor eax, eax
mov dword [esp], eax
push 0xffffffffffffffff
lea eax, [esp + 4]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetIpForwardTable
mov esi, eax
cmp esi, 0x7a
jne 0x45fe5b
mov eax, dword [esp]
call fcn.0040274c
mov ebx, eax
push 0xffffffffffffffff
lea eax, [esp + 4]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetIpForwardTable
mov esi, eax
test esi, esi
jne 0x45fe43
mov edi, dword [ebx]
test edi, edi
jbe 0x45fe35
add ebx, 4
mov esi, edi
test esi, esi
jle 0x45fe4c
push esi
push edi
mov esi, ebx
lea edi, [esp + 0xc]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [esp + 0x18]
mov eax, dword [eax*4 + 0x4d2ea4]
mov edx, 0x45fe6c
call fcn.004045a0
jne 0x45fe2d
mov edx, ebp
mov eax, dword [esp + 0x10]
call fcn.0045f35c
add ebx, 0x38
dec esi
jne 0x45fdfa
jmp 0x45fe4c
mov eax, ebp
mov edx, 0x45fe7c
call fcn.004041e8
jmp 0x45fe4c
mov edx, ebp
mov eax, esi
call fcn.0040ba04
imul eax, edi, 0x38
add eax, 4
sub ebx, eax
mov eax, ebx
call fcn.0040276c
add esp, 0x3c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x461520
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 0x461780
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x461583
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004611c8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040cc1c
cmp al, 1
jne 0x461583
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00461490
test al, al
je 0x46170f
cmp dword [ebp - 8], 0
jge 0x4615a1
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.004611c8
mov eax, dword [ebp - 0x210]
call fcn.00404454
cmp ebx, eax
jge 0x4615eb
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004611c8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4d4f74]
and eax, 0xff
bt dword [edx], eax
jae 0x4615eb
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4615ff
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004614fc
cmp ebx, dword [ebp - 8]
je 0x461701
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 0x46162b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040359c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d2ec0]
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 0x4616ee
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040359c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d2ec0]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00444980
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040359c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d2ec0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00444980
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4616f5
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 0x461762
cmp dword [ebp - 8], 0
jge 0x46171a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004611c8
mov eax, dword [ebp - 0x218]
call fcn.00404454
cmp eax, dword [ebp - 8]
jg 0x461754
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004611c8
mov eax, dword [ebp - 0x21c]
call fcn.00404454
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004614fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461787
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004041b8
ret
Function at 0x465030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423ba4
cmp ebx, dword [ebp - 8]
jge 0x465093
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423fa0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423fa0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423fcc
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x465059
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x46509c
Capabilities:
Encode data using xor

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 esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423ba4
cmp ebx, dword [ebp - 8]
jge 0x4650ff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423fa0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423fa0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423fcc
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4650c5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x47471c
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 [0x415874]
call fcn.00404b4c
xor eax, eax
push ebp
push 0x474860
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d33a4], 0
jne 0x47476f
mov ecx, dword [0x4d4888]
mov dl, 1
mov eax, dword [0x407794]
call fcn.0040c2d4
call fcn.00403b2c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d84
mov eax, ebx
call fcn.004049fc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x474870
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.00405c08
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404a0c
test eax, eax
jle 0x474807
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 0x474800
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040441c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404404
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004085ec
test eax, eax
jne 0x474800
mov ebx, 0x15
jmp 0x47480c
mov ebx, 0x10
jmp 0x47480c
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 [0x4d33a4]
call fcn.00474674
mov eax, dword [ebp - 8]
call fcn.00474674
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405c20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474867
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041b8
lea eax, [ebp - 0x10]
mov edx, dword [0x415874]
call fcn.00404c1c
ret

Function at 0x483914
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402d84
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x484860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404644
xor eax, eax
push ebp
push 0x4848f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d4ef0]
mov dword [eax], 0x18f13e8
mov eax, dword [ebp - 4]
call fcn.00404454
test al, al
jbe 0x4848d5
mov byte [ebp - 5], al
mov bl, 1
mov eax, 0x80
call fcn.00402da4
or eax, 0x80
mov esi, ebx
and esi, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi - 1]
xor eax, edx
push eax
lea eax, [ebp - 4]
call fcn.004046ac
pop edx
mov byte [eax + esi - 1], dl
inc ebx
dec byte [ebp - 5]
jne 0x4848a0
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004041e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4848fc
lea eax, [ebp - 4]
call fcn.00404194
ret
Function at 0x4854a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404644
xor eax, eax
push ebp
push 0x485539
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d4ef0]
mov dword [eax], 0x18f13e8
mov eax, dword [ebp - 4]
call fcn.00404454
test al, al
jbe 0x485519
mov byte [ebp - 5], al
mov bl, 1
mov eax, 0x80
call fcn.00402da4
or eax, 0x80
mov esi, ebx
and esi, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi - 1]
xor eax, edx
push eax
lea eax, [ebp - 4]
call fcn.004046ac
pop edx
mov byte [eax + esi - 1], dl
inc ebx
dec byte [ebp - 5]
jne 0x4854e4
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004041e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485540
lea eax, [ebp - 4]
call fcn.00404194
ret

Function at 0x4a031c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4a0376
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004a030c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0049df98
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0049daf0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a037d
lea eax, [ebp - 4]
call fcn.00404194
ret