joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ed48
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x42ed5a
add esp, 0xfffffff0
call fcn.00406724
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00413c50
mov eax, dword [0x461b1c]
mov dword [eax + 4], ebx
mov dword [eax], 0x42f0ec
mov eax, dword [0x461b20]
mov dword [eax + 4], ebx
mov dword [eax], 0x42f0f8
mov eax, ebx
call fcn.0042f104
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x40996c]
call fcn.004063b4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40996c]
call fcn.004063b4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x40996c]
call fcn.004063b4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x40996c]
call fcn.004063b4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x40996c]
call fcn.004063b4
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, 0x42b5d0
push eax
push 0
push 0
mov eax, dword [0x461b00]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x45115c]
call fcn.00452594
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x45115c]
call fcn.00452594
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x45115c]
call fcn.00452594
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0042f524
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42f400
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42f400
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42f400
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x42ee97
call fcn.0040677c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x42f1e4
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 0x42f38f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x42f370
mov dl, 1
mov eax, dword [0x409e9c]
call fcn.004063b4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00406f0c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x42f35f
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.00424d70
test al, al
je 0x42f352
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, 0x42f3a0
lea eax, [ebp - 0x254]
call fcn.0043838c
push eax
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x42f352
xor eax, eax
push ebp
push 0x42f34b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x42f3d8
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x42f334
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00407174
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 0x42f334
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00407174
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f352
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x42f255
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0040e244
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 0x42f396
lea eax, [ebp - 0x260]
call fcn.00406f0c
ret

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

Disassembly:
push ecx
mov eax, dword [0x466f08]
cmp byte [eax + 0xa5], 0
jne 0x42fd35
cmp dword [0x466f20], 0
jne 0x42fcf6
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x42fc80
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x466f20], eax
cmp dword [0x466f1c], 0
jne 0x42fd11
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x466f1c], eax
cmp dword [0x466f24], 0
jne 0x42fd35
push esp
push 0
push 0
push 0x42fc24
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x466f24], eax
pop edx
ret
Function at 0x42fe2c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x42fe43
add esp, 0xfffffff0
call fcn.00406724
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00413c50
mov eax, dword [0x461b24]
cmp word [eax + 2], 0
jne 0x42fe6b
mov eax, dword [0x461b24]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00431460
mov eax, dword [0x461b28]
cmp word [eax + 2], 0
jne 0x42fe85
mov eax, dword [0x461b28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00431658
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x40996c]
call fcn.004063b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x40996c]
call fcn.004063b4
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], SafeArrayPutElement
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 [0x45190c]
call fcn.004574ec
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x43000c
mov eax, dword [0x461b2c]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004578bc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x431bc8
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x461b2c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0043b8b0
test eax, eax
je 0x42ff7a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00437ce8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0043b8d8
test eax, eax
je 0x42ff8e
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, 0x100
call fcn.00407174
mov eax, dword [0x461a08]
cmp byte [eax], 0
jne 0x42ffc2
mov eax, ebx
call fcn.00430134
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.00431da4
mov eax, ebx
call fcn.00432754
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x430002
call fcn.0040677c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4303a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x466f08]
cmp dword [eax + 0x30], 0
je 0x430452
cmp dword [ebx + 0x94], 0
jne 0x43044c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x430338
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x43044c
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 0x430412
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43044c
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.0040bff4
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x430421
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x430f30
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 0x430f65
push 0x100
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.00406ffc
jmp 0x430f72
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406f60
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x431f80
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x431fc1
mov eax, esi
call fcn.0042063c
test al, al
je 0x431fc1
mov eax, dword [ebx + 0x84]
call fcn.00420338
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x431fc1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00420338
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x43a4e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x43a519
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00406ffc
jmp 0x43a522
mov eax, ebx
mov edx, esi
call fcn.00406f60
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43a52c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x43a54d
mov al, byte [esp]
jmp 0x43a54f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x43b918
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x43b97c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00407174
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00437854
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b983
lea eax, [ebp - 0xc]
call fcn.00406f0c
ret

Function at 0x44b760
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.00406f0c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44b7af
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00407174
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451a58
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x451a5e
ret

Function at 0x453e78
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x453ec9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x453eb0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x453ea0
jmp 0x453ec9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x453eb1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4590c0
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x45900c
call sub.USER32.DLL_EnumWindows
ret

Function at 0x4591e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x45925d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00458c30
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x459205
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00458888
cmp dword [ebp - 4], 0
je 0x459247
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004073b4
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.USER32.DLL_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459264
lea eax, [ebp - 4]
call fcn.00406f0c
ret

Function at 0x45d590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x464fa0], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x45d66a
cmp dword [0x464f9c], 0
jne 0x45d66a
cmp dword [0x464f08], 0
je 0x45d624
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0045e79c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x45d60a
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0045e79c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x45d60a
lea ebx, [ebp - 0x84]
jmp 0x45d60b
inc ebx
call fcn.0045d54c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x45d6a5
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x464fa4
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0045d6d4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x464fa7
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x45d6a5
cmp dword [0x464f9c], 0
je 0x45d684
cmp dword [0x464f9c], 0xffffffff
je 0x45d6a5
push esi
call dword [0x464f9c]
pop ecx
mov eax, dword [0x464fa0]
test eax, eax
je 0x45d6a5
cmp dword [0x464fa0], 0xffffffff
je 0x45d6a5
cmp byte [eax], 0
je 0x45d6a5
push esi
push eax
call fcn.0045e734
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45e734
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x45e796
call fcn.0045e6e4
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0045d6d4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0045d6d4
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x40563b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402fd6
and dword [ebp - 0x14], 0
cmp dword [0x40b7d8], 0
mov dword [ebp - 0x18], eax
jne 0x4056ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405796
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405796
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b7d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b7dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b7e0], eax
call edi
push eax
call esi
mov dword [0x40b7e8], eax
test eax, eax
je 0x4056ee
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b7e4], eax
mov eax, dword [0x40b7e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405747
cmp dword [0x40b7e8], ecx
je 0x405747
push eax
call esi
push dword [0x40b7e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405747
test ebx, ebx
je 0x405747
call edi
test eax, eax
je 0x40573e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40573e
test byte [ebp - 8], 1
jne 0x405747
or dword [ebp + 0x10], 0x200000
jmp 0x40577a
mov eax, dword [0x40b7dc]
cmp eax, dword [ebp - 0x18]
je 0x40577a
push eax
call esi
test eax, eax
je 0x40577a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40577a
mov eax, dword [0x40b7e0]
cmp eax, dword [ebp - 0x18]
je 0x40577a
push eax
call esi
test eax, eax
je 0x40577a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b7d8]
call esi
test eax, eax
je 0x405796
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405798
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040239a
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d7a
sub eax, 0x403d20
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0xe15adc
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe15ae6
pushal
call 0xe15aec
pop ebp
sub ebp, 0x10
sub ebp, 0xa15adc
jmp 0xe15b02
mov eax, 0xa15adc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5a9
mov edx, 0xcd908625
xor byte [eax], dl
inc eax
dec ecx
jne 0xe15b19
jmp 0xe15b2c
scasb al, byte es:[edi]
call 0x25fb07e0
and eax, 0xdde4a425
and eax, 0xe8262525
popfd
and ah, byte [0xd9f2525]
and eax, 0xc7d22525
in eax, dx
scasb al, byte es:[edi]
movsb byte es:[edi], byte [esi]
sub dword [0xe0262525], esp
jne 0xe15bc9
dec ebp
sub eax, 0x4d2504b8
int1
cwde
pop edx
and eax, 0x4d010924
lock or dword [0x2520cd2c], 0x25
and eax, 0x25250dcc
and eax, 0xae787170
mov al, byte [0x2525252d]
scasb al, byte es:[edi]
mov al, 0x29
and eax, 0xa8ae2525
xor eax, 0xe4252525
int3
and eax, 0x2d98ae25
and eax, 0xec162525
movsb byte es:[edi], byte [esi]
xlatb
push ecx
daa
mov ecx, 0x51d7a4e6
daa
mov ecx, 0xa6f716e6
int 0x20
insd dword es:[edi], dx
sub ah, byte [ecx + 0x2525256b]
sub ch, byte [ebp + 0x2525256d]
inc ebx
scasb al, byte es:[edi]
cmp dword [0xa12acdde], ebx
aas
and eax, 0xdea52525
int3
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x404444
Capabilities:
Inspect section memory permissions

Disassembly:
sbb byte [ebx + edx*2 - 0x75], dh
push eax
add al, 0x8d
dec eax
or byte [ebx], al
ror byte [ecx - 0x35c4f7b3], 1

Function at 0x404464
Capabilities:
Inspect section memory permissions

Disassembly:
cmp edx, 0x3000
jne 0x40447f
and ecx, 0xfff
mov edx, esi
cmp edx, ebx
jne 0x4045d5

Function at 0x404494
Capabilities:
Inspect section memory permissions

Disassembly:
rol dword [ebx], 0x40
add al, 0xeb
test eax, 0xeb0c5d89
or al, 0xeb
push es

Function at 0x40449c
Capabilities:
Inspect section memory permissions

Disassembly:
rol dword [ebx], 0x40
add al, 0xeb
test eax, 0xeb0c5d89
or al, 0xeb
push es

Function at 0x4044dc
Capabilities:
Inspect section memory permissions

Disassembly:
clc
add byte [eax], al
add byte [ebx + 0x448d2478], cl
inc esp
or bh, bh

Function at 0x4044f4
Capabilities:
Inspect section memory permissions

Disassembly:
cmp eax, dword [ebp - 0x44]
ja 0x404539
mov edx, edi
mov dword [ebp + 8], edi
jge 0x404506
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000

Function at 0x40451c
Capabilities:
Inspect section memory permissions

Disassembly:
or byte [ebx - 0x2cc4e7b3], 0x74
add al, 0x80
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x404529
add al, 0x80

Function at 0x404524
Capabilities:
Inspect section memory permissions

Disassembly:
add al, 0x80
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
je 0x404533
add ecx, eax
or byte [ecx], 4

Function at 0x40453c
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
dec ebp
or al, 0x66
cmp ecx, dword [eax + 6]
jbe 0x40449f
mov dword [ebp + 8], esi
xor edi, edi
invalid
Function at 0x4077a8
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x4077c4
shr eax, 1
xor eax, 0xedb88320
jmp 0x4077c6
shr eax, 1
dec edx
jne 0x4077b7
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4077b0
pop esi
ret

Function at 0x4077dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x4077ff
call fcn.004077a8
push 1
push 0x40c558
call fcn.004043fc
mov eax, edi
test esi, esi
je 0x40782a
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x407805
mov eax, ebx
pop edi
pop esi
pop ebx
ret