joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462d0c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x462d23
add esp, 0xfffffff0
call fcn.00403cc0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421ec0
mov eax, dword [0x4dd370]
cmp word [eax + 2], 0
jne 0x462d4b
mov eax, dword [0x4dd370]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004643e8
mov eax, dword [0x4dd4bc]
cmp word [eax + 2], 0
jne 0x462d65
mov eax, dword [0x4dd4bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004645e0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417958]
call fcn.0040392c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417958]
call fcn.0040392c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4243f8]
call fcn.0042c234
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x462eec
mov eax, dword [0x4dd1d8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c604
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x464b50
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4dd1d8]
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.0040e3c4
test eax, eax
je 0x462e5a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409e88
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e3ec
test eax, eax
je 0x462e6e
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.00404a10
mov eax, dword [0x4dcf78]
cmp byte [eax], 0
jne 0x462ea2
mov eax, ebx
call fcn.00463014
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.00464d2c
mov eax, ebx
call fcn.0046566c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462ee2
call fcn.00403d18
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463288
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4dec34]
cmp dword [eax + 0x30], 0
je 0x463332
cmp dword [ebx + 0x94], 0
jne 0x46332c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x463218
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46332c
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 0x4632f2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46332c
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.0041a16c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x463301
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x463e10
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 0x463e45
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.00404898
jmp 0x463e52
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047fc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x464f08
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x464f49
mov eax, esi
call fcn.0044aec8
test al, al
je 0x464f49
mov eax, dword [ebx + 0x84]
call fcn.0044abc4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x464f49
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044abc4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4681c4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00467e28
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404c58
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x468222
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4dd3a0]
mov dl, 1
mov eax, dword [0x467d20]
call fcn.0040d5f8
call fcn.004041ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46822c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404c58
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x468284
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4dd734]
mov dl, 1
mov eax, dword [0x467d20]
call fcn.0040d5f8
call fcn.004041ec
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00467e58
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46e808
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46e979
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46e954
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404988
lea eax, [ebp - 0x118]
mov edx, 0x46e990
call fcn.00404a68
mov eax, dword [ebp - 0x118]
call fcn.00404c58
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x46e8c6
lea eax, [ebp - 0x111]
call fcn.00409e4c
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404898
jmp 0x46e8cd
mov eax, esi
call fcn.004047a8
cmp bl, 0x61
jae 0x46e8ee
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040e298
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.004047fc
jmp 0x46e908
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040e20c
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.004047fc
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x46e99c
call fcn.0040a5c0
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.004047fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e95b
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x48ec04
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x48ec29
cmp dword [esp + 4], 5
jb 0x48ec29
mov al, 1
jmp 0x48ec2b
xor eax, eax
add esp, 0x94
ret
Function at 0x49f8a4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x49f8ac
xor eax, eax
push ebp
push 0x49fa99
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.0049f7e8
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0049fe6c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x49faac
call fcn.00404aac
mov eax, dword [ebp - 4]
call fcn.0040973c
test al, al
je 0x49f91a
push 0
push 0x49fad0
push dword [ebp - 4]
push 0x49fae4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404b20
mov eax, dword [ebp - 0x10]
call fcn.00404c58
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 0x18]
call fcn.0049f7e8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0049fe6c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0x49faf4
call fcn.00404aac
mov eax, dword [ebp - 4]
call fcn.0040973c
test al, al
je 0x49f973
push 0
push 0x49fad0
push dword [ebp - 4]
push 0x49fae4
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404b20
mov eax, dword [ebp - 0x1c]
call fcn.00404c58
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 0x24]
call fcn.0049f7e8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0049fe6c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ecx, 0x49fb14
call fcn.00404aac
mov eax, dword [ebp - 4]
call fcn.0040973c
test al, al
je 0x49f9cc
push 0
push 0x49fad0
push dword [ebp - 4]
push 0x49fae4
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404b20
mov eax, dword [ebp - 0x28]
call fcn.00404c58
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 0x30]
call fcn.0049f7e8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0049fe6c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov ecx, 0x49fb34
call fcn.00404aac
mov eax, dword [ebp - 4]
call fcn.0040973c
test al, al
je 0x49fa25
push 0
push 0x49fad0
push dword [ebp - 4]
push 0x49fae4
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404b20
mov eax, dword [ebp - 0x34]
call fcn.00404c58
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 0x3c]
call fcn.0049f7e8
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0049fe6c
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 4]
mov ecx, 0x49fb54
call fcn.00404aac
mov eax, dword [ebp - 4]
call fcn.0040973c
test al, al
je 0x49fa7e
push 0
push 0x49fad0
push dword [ebp - 4]
push 0x49fae4
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404b20
mov eax, dword [ebp - 0x40]
call fcn.00404c58
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49faa0
lea eax, [ebp - 0x40]
mov edx, 0x10
call fcn.004047cc
ret
Function at 0x4a0e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp edx, 0
je 0x4a0eea
cmp ecx, 0
je 0x4a0eea
push esi
push edi
push ebx
mov ebx, ecx
mov esi, eax
mov ebp, dword [ebp + 8]
and ebp, 1
neg ebp
mov eax, 0xffffffff
movd mm3, eax
mov edi, dword [esi]
mov ecx, ebx
mov eax, dword [edi]
xor eax, ebp
movd mm0, eax
movq mm2, mm3
bswap eax
movd mm1, eax
punpcklbw mm1, mm1
punpcklbw mm1, mm1
paddusb mm0, mm1
psubusb mm2, mm0
movd eax, mm2
bswap eax
shr eax, 8
mov dword [edi], eax
add edi, 4
dec ecx
jne 0x4a0eb4
add esi, 4
dec edx
jne 0x4a0eb0
emms
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x4a32b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
jne 0x4a32e0
mov eax, ebx
call fcn.004a3dd4
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x4a32d9
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
mov edx, dword [ebx + 0x14]
cmp edx, 0xcb
jne 0x4a3358
mov ecx, dword [ebx + 0x1b4]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4a334a
mov edx, dword [ebx + 8]
test edx, edx
je 0x4a3306
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4a3318
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a334a
mov edx, dword [ebx + 8]
test edx, edx
je 0x4a32f8
cmp eax, 3
je 0x4a332c
dec eax
jne 0x4a32f8
mov ecx, dword [ebx + 8]
inc dword [ecx + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
cmp edx, ecx
jl 0x4a32f8
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a32f8
mov eax, dword [ebx + 0x90]
mov dword [ebx + 0x98], eax
jmp 0x4a3378
mov ecx, dword [ebx + 0x14]
cmp ecx, 0xcc
je 0x4a3378
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x15
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004a3384
pop ebx
ret
Function at 0x4b4bc8
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 0x4b4e28
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4b4c2b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004b46e0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040ddcc
cmp al, 1
jne 0x4b4c2b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004b49a8
test al, al
je 0x4b4db7
cmp dword [ebp - 8], 0
jge 0x4b4c49
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.004b46e0
mov eax, dword [ebp - 0x210]
call fcn.00404a60
cmp ebx, eax
jge 0x4b4c93
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004b46e0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4dd704]
and eax, 0xff
bt dword [edx], eax
jae 0x4b4c93
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4b4ca7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004b4ba4
cmp ebx, dword [ebp - 8]
je 0x4b4da9
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 0x4b4cd3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b58
and eax, 0x7f
movzx eax, word [eax*2 + 0x4dbe34]
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 0x4b4d96
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b58
and eax, 0x7f
movzx eax, word [eax*2 + 0x4dbe34]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044abc4
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b58
and eax, 0x7f
movzx eax, word [eax*2 + 0x4dbe34]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044abc4
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4d9d
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 0x4b4e0a
cmp dword [ebp - 8], 0
jge 0x4b4dc2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004b46e0
mov eax, dword [ebp - 0x218]
call fcn.00404a60
cmp eax, dword [ebp - 8]
jg 0x4b4dfc
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004b46e0
mov eax, dword [ebp - 0x21c]
call fcn.00404a60
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b4ba4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4e2f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004047cc
ret
Function at 0x4babfc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test dl, dl
je 0x4bac14
push 5
mov eax, ebx
call fcn.0044abc4
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
push 0
mov eax, ebx
call fcn.0044abc4
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4c3228
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x308], 0
jne 0x4c32c8
mov esi, dword [ebx + 0x338]
test esi, esi
je 0x4c3254
mov ecx, ebx
mov dl, 1
mov eax, esi
call dword [eax + 0x2c]
mov dword [ebx + 0x308], eax
jmp 0x4c3268
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4b7c24]
call fcn.004bb260
mov dword [ebx + 0x308], eax
xor edx, edx
mov eax, dword [ebx + 0x308]
call fcn.004443a4
mov dl, 1
mov eax, dword [ebx + 0x308]
call fcn.0044ad04
mov edx, ebx
mov eax, dword [ebx + 0x308]
mov ecx, dword [eax]
call dword [ecx + 0x68]
push 0
mov eax, dword [ebx + 0x308]
call fcn.0044abc4
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x308]
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], 0x4c32fc
mov dword [eax + 0x2ac], ebx
mov dword [eax + 0x2a8], 0x4c32d4
mov eax, dword [ebx + 0x308]
pop esi
pop ebx
ret

Function at 0x4c6a5c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c48
xor eax, eax
push ebp
push 0x4c6ac0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.004c6acc
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040a044
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6ac7
lea eax, [ebp - 4]
call fcn.004047a8
ret
Function at 0x4c7008
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c48
xor eax, eax
push ebp
push 0x4c70f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.004c6800
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409c94
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004c7570
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409b58
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c75e4
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c70ff
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047cc
ret
Function at 0x4c7108
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c48
xor eax, eax
push ebp
push 0x4c7208
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.004c6800
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
cmp dword [ebp - 4], 0
je 0x4c71ce
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409c94
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004c7570
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409b58
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c75e4
jmp 0x4c71e0
xor edx, edx
mov eax, ebx
call fcn.004c7570
xor edx, edx
mov eax, ebx
call fcn.004c75e4
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c720f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047cc
ret

Function at 0x4cd40c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x174]
mov edx, ebx
mov eax, edi
call fcn.004cd630
mov esi, eax
mov dword [edi + 0x174], esi
and esi, 0xff
add dword [edi + 0x178], esi
imul esi, dword [edi + 0x178], 0x8088405
inc esi
mov dword [edi + 0x178], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x17c]
mov eax, edi
call fcn.004cd630
mov dword [edi + 0x17c], eax
pop edi
pop esi
pop ebx
ret

Function at 0x4cd480
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4cd4a5
inc esi
mov eax, edi
call fcn.004cd464
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.004cd40c
inc ebx
dec esi
jne 0x4cd48f
pop edi
pop esi
pop ebx
ret
Function at 0x4cd534
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404c48
xor eax, eax
push ebp
push 0x4cd5a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004cd4ac
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.004cd464
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.004cd40c
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x4cd574
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd5b0
lea eax, [ebp - 4]
call fcn.004047a8
ret