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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x45262c
cmp dword [esi + 4], 0
je 0x452659
test byte [ebx + 0x55], 1
jne 0x45264b
mov eax, ebx
call fcn.0045121c
test eax, eax
jne 0x45264b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x452769
mov edx, esi
mov eax, ebx
call fcn.00452134
jmp 0x452769
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x452762
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00454480
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.0044eeb8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00452610
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00454480
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452769
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 0x458cc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4820f4]
cmp byte [eax + 0xc], 0
je 0x458e2d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x458e26
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x483bb4], 0
jne 0x458d14
push 0x458e34
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x458e3c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bb4], eax
cmp dword [0x480ea4], 0
jne 0x458e0f
push 0x458e4c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x480ea4], eax
cmp dword [0x480ea4], 0
je 0x458e0f
push 0x458e58
mov eax, dword [0x480ea4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bb8], eax
push 0x458e68
mov eax, dword [0x480ea4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bbc], eax
push 0x458e7c
mov eax, dword [0x480ea4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bc0], eax
push 0x458e94
mov eax, dword [0x480ea4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bc4], eax
push 0x458eac
mov eax, dword [0x480ea4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bc8], eax
push 0x458ec0
mov eax, dword [0x480ea4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bcc], eax
push 0x458ed8
mov eax, dword [0x480ea4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bd0], eax
push 0x458ef0
mov eax, dword [0x480ea4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bd4], eax
push 0x458f0c
mov eax, dword [0x480ea4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bd8], eax
push 0x458f18
mov eax, dword [0x480ea4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bdc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458e2d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45e0a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b74
xor eax, eax
push ebp
push 0x45e13a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045e6cc
test al, al
jne 0x45e0e7
lea eax, [ebp - 0x214]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
jmp 0x45e0f5
lea eax, [ebp - 0x214]
mov edx, dword [ebp - 4]
call fcn.0040974c
lea eax, [ebp - 0x110]
push eax
mov al, byte [ebp - 5]
xor al, 1
and eax, 0x7f
push eax
push 0x45e148
lea eax, [ebp - 0x214]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x110]
call fcn.004098bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e141
lea eax, [ebp - 4]
call fcn.004046a8
ret
Function at 0x45e1c8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e261
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004094e8
mov byte [ebp - 5], 0
mov edx, dword [ebp - 0x1c]
mov eax, 0x45e278
call fcn.00404cc8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x45e24b
mov eax, dword [ebp - 0x1c]
call fcn.00404984
mov ecx, eax
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
inc edx
lea eax, [ebp - 0x1c]
call fcn.00404c24
mov eax, dword [ebp - 0x1c]
call fcn.00404984
mov ecx, eax
lea eax, [ebp - 0x15]
mov edx, dword [ebp - 0x1c]
call fcn.00409770
lea eax, [ebp - 0x15]
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e268
lea eax, [ebp - 0x1c]
call fcn.004046a8
ret

Function at 0x45e27c
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e369
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 4]
call fcn.004093d4
lea eax, [ebp - 0x128]
mov edx, 0x45e388
call fcn.0040498c
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
call fcn.0040974c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x124]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x45e350
xor eax, eax
push ebp
push 0x45e32c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
imul dword [ebp - 0x14]
imul dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45e350
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e370
lea eax, [ebp - 0x128]
call fcn.004046a8
ret
Function at 0x45e4d8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e6a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004093d4
cmp dword [ebp - 0x18], 0
jne 0x45e529
lea eax, [ebp - 0x1c]
call fcn.0040968c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004093d4
lea eax, [ebp - 0x18]
mov edx, 0x45e6bc
call fcn.0040498c
mov eax, dword [ebp - 4]
call fcn.0045ec08
sub al, 2
jb 0x45e549
je 0x45e55c
jmp case.default.0x45e5bc
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
jmp case.default.0x45e5bc
mov edx, dword [ebp - 4]
mov eax, 0x45e6c8
call fcn.00404cc8
dec eax
jne 0x45e59f
push ebp
call fcn.0045e478
pop ecx
test al, al
je 0x45e58c
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045e38c
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp case.default.0x45e5bc
mov dword [ebp - 0x10], 0x7fffffff
mov dword [ebp - 0xc], 0
jmp case.default.0x45e5bc
mov eax, dword [ebp - 0x18]
call fcn.00404b84
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 6
ja case.default.0x45e5bc
jmp dword [eax*4 + 0x45e5c3]
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
jmp case.default.0x45e5bc
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
jmp case.default.0x45e5bc
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
jmp case.default.0x45e5bc
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045e27c
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp case.default.0x45e5bc
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045e454
pop ecx
cdq
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp case.default.0x45e5bc
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045e27c
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp case.default.0x45e5bc
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045e38c
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0xffffffff
jne 0x45e664
cmp dword [ebp - 0x10], 0xffffffff
jb 0x45e679
jmp 0x45e666
jl 0x45e679
cmp dword [ebp - 0xc], 0
jne 0x45e677
cmp dword [ebp - 0x10], 0x7fffffff
jbe 0x45e682
jmp 0x45e679
jle 0x45e682
mov dword [ebp - 8], 0x7fffffff
jmp 0x45e688
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e6aa
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004046cc
ret
Function at 0x45e6cc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov edx, dword [ebp - 4]
mov eax, 0x45e734
call fcn.00404cc8
test eax, eax
jne 0x45e725
mov edx, dword [ebp - 4]
mov eax, 0x45e740
call fcn.00404cc8
test eax, eax
jne 0x45e725
lea eax, [ebp - 0x10c]
mov edx, dword [ebp - 4]
call fcn.0040974c
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x45e725
test byte [ebp - 0xc], 0x10
je 0x45e725
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x45f754
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
movzx eax, word [ebp - 0xa]
dec eax
test eax, eax
jl 0x45f7b1
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
xor al, byte [ebp - 0x14]
and eax, 0xff
mov eax, dword [eax*4 + 0x481344]
mov edx, dword [ebp - 0x14]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x45f780
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret

Function at 0x45f7c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov al, byte [ebp - 8]
xor al, byte [ebp - 1]
and eax, 0xff
mov eax, dword [eax*4 + 0x481344]
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4607e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, 1
jno 0x46080a
call fcn.00403898
test eax, eax
jl 0x460846
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x14]
mov edx, dword [ebp - 0x18]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x481c5c]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
add dword [ebp - 0x18], 1
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x460819
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret
Function at 0x461d10
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x461dbc
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x20]
and eax, 0xffff
or eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov al, byte [eax]
mov edx, dword [ebp - 0x14]
xor edx, 1
imul edx, dword [ebp - 0x14]
shr edx, 8
xor al, dl
mov edx, dword [ebp - 0x18]
mov byte [edx], al
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov al, byte [eax]
call fcn.0045f7c0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
and eax, 0xff
add dword [ebp - 0x24], eax
imul eax, dword [ebp - 0x24], 0x8088405
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
shr eax, 0x18
mov edx, dword [ebp - 0x20]
call fcn.0045f7c0
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x18]
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x461d53
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x10], edx
mov esp, ebp
pop ebp
ret

Function at 0x461ddc
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00461ea8
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
and eax, 0xffff
or eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor eax, 1
imul dword [ebp - 0x18]
shr eax, 8
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor al, byte [edx + ecx]
mov edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x24], al
mov eax, dword [ebp - 0x14]
mov al, byte [ebp + eax - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.0045f7c0
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0xc], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
shr eax, 0x18
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.0045f7c0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jne 0x461dfb
mov al, byte [ebp + 0xb]
cmp al, byte [ebp - 0x19]
sete byte [ebp - 0xd]
mov al, byte [ebp - 0xd]
mov edx, dword [ebp - 4]
mov byte [edx + 4], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 4
Function at 0x461ea8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x12345678
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x23456789
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x34567890
mov eax, dword [ebp - 8]
call fcn.00404984
test eax, eax
jle 0x461f47
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.0045f7c0
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0xc], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
shr eax, 0x18
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.0045f7c0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x461ee8
mov esp, ebp
pop ebp
ret
Function at 0x4623b4
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x462464
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x24]
and eax, 0xffff
or eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov al, byte [eax]
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov edx, dword [ebp - 0x18]
xor edx, 1
imul edx, dword [ebp - 0x18]
shr edx, 8
xor al, dl
mov edx, dword [ebp - 0x1c]
mov byte [edx], al
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0xd]
call fcn.0045f7c0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
and eax, 0xff
add dword [ebp - 0x28], eax
imul eax, dword [ebp - 0x28], 0x8088405
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
shr eax, 0x18
mov edx, dword [ebp - 0x24]
call fcn.0045f7c0
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x1c]
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4623f7
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x10], edx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x12345678
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x23456789
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x34567890
mov eax, dword [ebp - 8]
call fcn.00404984
test eax, eax
jle 0x462523
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.0045f7c0
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0xc], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
shr eax, 0x18
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.0045f7c0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4624c4
mov esp, ebp
pop ebp
ret
Function at 0x4691d4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
test dl, dl
je 0x4691ef
add esp, 0xfffffff0
call fcn.00403c7c
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404b74
xor eax, eax
push ebp
push 0x469324
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00403928
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
mov eax, dword [ebp - 0xc]
call fcn.0045e1c8
test al, al
je 0x469250
mov ax, word [ebp + 8]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
push eax
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x467110]
call fcn.004678a4
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x469273
mov ax, word [ebp + 8]
push eax
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
push eax
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x467110]
call fcn.004678a4
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x34], edx
mov edx, dword [edx]
mov edx, dword [edx + 0x64]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x3c], edx
mov edx, dword [edx]
mov edx, dword [edx + 0x1c]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x3e], 1
mov eax, dword [ebp - 4]
add eax, 0xc
mov edx, dword [ebp - 0xc]
call fcn.004046fc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x94], edx
mov edx, dword [edx]
mov edx, dword [edx + 0x34]
mov dword [eax + 0x90], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x44], 0
mov eax, dword [ebp - 4]
mov dx, word [ebp + 8]
mov word [eax + 0x3c], dx
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402b30
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040934c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0046aa50
mov eax, dword [ebp - 4]
call fcn.0046a25c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46932b
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004046cc
ret