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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x42db1f
add esp, 0xfffffff0
call fcn.0040321c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00412a38
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40cb48]
call fcn.00402eec
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40cb48]
call fcn.00402eec
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x415024]
call fcn.0041c5bc
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x42dc94
mov eax, dword [0x45b694]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041c98c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42f4d4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45b694]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040a664
test eax, eax
je 0x42dc12
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004087f8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a68c
test eax, eax
je 0x42dc26
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403dd4
mov eax, dword [0x45b584]
cmp byte [eax], 0
jne 0x42dc57
mov eax, ebx
call fcn.0042dd80
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x42dc89
call fcn.00403274
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42dff0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45c740]
cmp dword [eax + 0x24], 0
je 0x42e093
cmp dword [ebx + 0x84], 0
jne 0x42e08d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x42df80
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x42e08d
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 0x42e056
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x42e08d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040e20c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x42e065
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x42eaa0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x42ead5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c8c
jmp 0x42eadf
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403bf8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42f848
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x42f880
mov eax, esi
call fcn.0044248c
test al, al
je 0x42f880
mov eax, dword [ebx + 0x74]
call fcn.00442190
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42f880
push 0
mov eax, dword [ebx + 0x74]
call fcn.00442190
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x432320
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.00403ba4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43236f
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.00403dd4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439dd4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x45c7b0], 0
sete dl
or al, dl
jne 0x439f14
mov eax, dword [0x45c7b4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45c7b0]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x439ee3
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x45c7b0]
call fcn.0040e20c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x439edb
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x439edb
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x439edb
mov eax, dword [ebp - 0x14]
call fcn.00442190
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x439edb
push ebp
call fcn.00439d90
pop ecx
test al, al
jne 0x439edb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x439e97
mov eax, dword [ebp - 0x14]
call fcn.00440a70
dec eax
jle 0x439edb
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.004030f8
cmp byte [ebp - 1], 0
je 0x439edb
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x439edb
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45c7b4]
call fcn.004395dc
inc edi
dec esi
jne 0x439e2a
mov eax, dword [0x45c7b4]
cmp dword [eax + 8], 0
jle 0x439efb
mov eax, dword [0x45c7b4]
call fcn.0043966c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x439f14
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00439bf8
pop ecx
test al, al
jne 0x439f14
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43fa7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x43faad
je 0x43fb07
sub eax, 7
je 0x43face
dec eax
je 0x43faf8
sub eax, 0x17
je 0x43fbac
jmp 0x43fbea
add eax, 0xffffff00
sub eax, 9
jb 0x43fb98
add eax, 0xffffff09
sub eax, 0xb
jb 0x43fb60
jmp 0x43fbea
mov eax, ebx
call fcn.00426a0c
mov edi, eax
test edi, edi
je 0x43fc4a
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x43fc53
jmp 0x43fc4a
test byte [ebx + 0x44], 0x20
jne 0x43fc53
jmp 0x43fc4a
mov edx, esi
mov eax, ebx
call fcn.0043d07c
cmp dword [esi + 0xc], 0xffffffff
jne 0x43fc53
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406c8c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0043bbb0
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0043f954
test eax, eax
je 0x43fc53
mov dword [esi + 0xc], 1
jmp 0x43fc53
mov edx, esi
mov eax, ebx
call fcn.0043f9e8
test al, al
je 0x43fc4a
cmp dword [esi + 0xc], 0
jne 0x43fc53
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.00442190
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x43fc53
mov eax, ebx
call fcn.0043c718
test al, al
jne 0x43fc53
jmp 0x43fc4a
mov eax, ebx
call fcn.00442190
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x43fc4a
cmp dword [0x45a9bc], 0
je 0x43fc4a
mov eax, dword [0x45a9bc]
cmp ebx, dword [eax + 0x24]
jne 0x43fc4a
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x45a9bc]
call fcn.0043cfb0
jmp 0x43fc4a
mov eax, dword [0x45c778]
cmp byte [eax + 0x20], 0
je 0x43fc4a
mov eax, dword [0x45c778]
cmp dword [eax + 0x1c], 0
je 0x43fc4a
mov eax, dword [esi]
mov edx, dword [0x45c778]
cmp eax, dword [edx + 0x1c]
jne 0x43fc4a
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00426950
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.004030f8
jmp 0x43fc53
mov edx, esi
mov eax, ebx
call fcn.0043d07c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440114
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 + 0x1e8], 0
je 0x440130
cmp dword [esi + 4], 0
je 0x44015d
test byte [ebx + 0x45], 1
jne 0x44014f
mov eax, ebx
call fcn.0043f04c
test eax, eax
jne 0x44014f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44026d
mov edx, esi
mov eax, ebx
call fcn.0043fd8c
jmp 0x44026d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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 0x440266
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00442190
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.0043cfb0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00440114
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 + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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.00442190
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44026d
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 0x44b0b8
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 0x44b229
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 0x44b204
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.00403d4c
lea eax, [ebp - 0x118]
mov edx, 0x44b240
call fcn.00403e2c
mov eax, dword [ebp - 0x118]
call fcn.00403fe8
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x44b176
lea eax, [ebp - 0x111]
call fcn.00408790
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403c8c
jmp 0x44b17d
mov eax, esi
call fcn.00403ba4
cmp bl, 0x61
jae 0x44b19e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040a538
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00403bf8
jmp 0x44b1b8
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040a4ac
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00403bf8
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, 0x44b24c
call fcn.00408ec0
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00403bf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b20b
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x44e518
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403fe8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44e531
test al, 0x10
jne 0x44e535
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4504a8
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.00403fd8
xor eax, eax
push ebp
push 0x450598
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.0045158c
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.004085d8
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00450a10
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004084b4
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00450a84
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 0x45059f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403bc8
ret
Function at 0x4505a8
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.00403fd8
xor eax, eax
push ebp
push 0x4506a8
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.0045158c
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 0x45066e
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004085d8
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00450a10
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004084b4
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00450a84
jmp 0x450680
xor edx, edx
mov eax, ebx
call fcn.00450a10
xor edx, edx
mov eax, ebx
call fcn.00450a84
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 0x4506af
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403bc8
ret

Function at 0x4517e8
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.00403fd8
xor eax, eax
push ebp
push 0x45184c
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.00451858
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00408978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451853
lea eax, [ebp - 4]
call fcn.00403ba4
ret

Function at 0x456ec0
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 + 0x140]
mov edx, ebx
mov eax, edi
call fcn.004570e4
mov esi, eax
mov dword [edi + 0x140], esi
and esi, 0xff
add dword [edi + 0x144], esi
imul esi, dword [edi + 0x144], 0x8088405
inc esi
mov dword [edi + 0x144], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x148]
mov eax, edi
call fcn.004570e4
mov dword [edi + 0x148], eax
pop edi
pop esi
pop ebx
ret

Function at 0x456f34
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 0x456f59
inc esi
mov eax, edi
call fcn.00456f18
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.00456ec0
inc ebx
dec esi
jne 0x456f43
pop edi
pop esi
pop ebx
ret
Function at 0x456fe8
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.00403fd8
xor eax, eax
push ebp
push 0x45705d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00456f60
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00456f18
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.00456ec0
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x457028
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457064
lea eax, [ebp - 4]
call fcn.00403ba4
ret
Function at 0x457a10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457be0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x457b9c
mov eax, dword [ebp - 4]
call fcn.00459144
cmp ebx, eax
jge 0x457b9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov edx, ebx
call fcn.0044ecd4
mov edx, dword [0x44ffb8]
call fcn.004030ac
mov esi, eax
mov eax, esi
call fcn.004509a4
test al, al
je 0x457b92
xor eax, eax
mov dword [ebp - 0x10], eax
mov edi, dword [esi + 0x3c]
test edi, edi
jne 0x457b86
xor eax, eax
push ebp
push 0x457b7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00457f88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
call fcn.0040fb54
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x3e]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 4]
movzx edx, word [ebp - 0x22]
movzx eax, word [ebp - 0x20]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
mov cx, 1
mov esi, dword [eax]
call dword [esi + 0xc]
movzx esi, word [ebp - 0x1e]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00404158
mov eax, dword [ebp - 8]
call fcn.00403ff4
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov al, byte [eax + 0x24]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00457d70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, byte [ebp - 9]
mov byte [eax + 0x24], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457bca
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x457b7e
mov eax, dword [ebp - 4]
call fcn.0045800c
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00408978
jmp 0x457bca
mov eax, dword [ebp - 8]
call fcn.00403ba4
jmp 0x457bca
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x48]
push eax
push 0
lea edx, [ebp - 0x4c]
mov eax, 0xb3
call fcn.00408038
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x40c920]
call fcn.00409a68
call fcn.00403674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457be7
lea eax, [ebp - 0x4c]
call fcn.00403ba4
ret