joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45247c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4524b4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452495
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4524a4
or bl, 4
test esi, 0x20000000
je 0x4524af
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458b5c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458b6e
add esp, 0xfffffff0
call fcn.004035b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419db8
mov eax, dword [0x462f44]
mov dword [eax + 4], ebx
mov dword [eax], 0x458f00
mov eax, dword [0x462f50]
mov dword [eax + 4], ebx
mov dword [eax], 0x458f0c
mov eax, ebx
call fcn.00458f18
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411764]
call fcn.00403260
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411764]
call fcn.00403260
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411764]
call fcn.00403260
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411764]
call fcn.00403260
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411764]
call fcn.00403260
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, 0x455334
push eax
push 0
push 0
mov eax, dword [0x46309c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b83c]
call fcn.0041cfb0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b83c]
call fcn.0041cfb0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b83c]
call fcn.0041cfb0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459338
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459214
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459214
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459214
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458cab
call fcn.0040360c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458ff8
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 0x4591a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459184
mov dl, 1
mov eax, dword [0x411d0c]
call fcn.00403260
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403fe0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x459173
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.00446b28
test al, al
je 0x459166
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, 0x4591b4
lea eax, [ebp - 0x254]
call fcn.00408b64
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x459166
xor eax, eax
push ebp
push 0x45915f
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 0x4591ec
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459148
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404250
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 0x459148
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404250
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459166
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459069
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415fa8
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 0x4591aa
lea eax, [ebp - 0x260]
call fcn.00403fe0
ret

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

Disassembly:
push ecx
mov eax, dword [0x464bb8]
cmp byte [eax + 0xa5], 0
jne 0x459b49
cmp dword [0x464bd0], 0
jne 0x459b0a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459a94
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x464bd0], eax
cmp dword [0x464bcc], 0
jne 0x459b25
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x464bcc], eax
cmp dword [0x464bd4], 0
jne 0x459b49
push esp
push 0
push 0
push 0x459a38
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x464bd4], eax
pop edx
ret
Function at 0x459c40
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459c57
add esp, 0xfffffff0
call fcn.004035b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419db8
mov eax, dword [0x463088]
cmp word [eax + 2], 0
jne 0x459c7f
mov eax, dword [0x463088]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b318
mov eax, dword [0x463138]
cmp word [eax + 2], 0
jne 0x459c99
mov eax, dword [0x463138]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b510
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411764]
call fcn.00403260
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411764]
call fcn.00403260
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 [0x41c31c]
call fcn.004239fc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x459e20
mov eax, dword [0x462fa8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423dcc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45bac0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x462fa8]
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.0040c2ac
test eax, eax
je 0x459d8e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408558
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c2d4
test eax, eax
je 0x459da2
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.00404250
mov eax, dword [0x462e84]
cmp byte [eax], 0
jne 0x459dd6
mov eax, ebx
call fcn.00459f48
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.0045bc9c
mov eax, ebx
call fcn.0045c660
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459e16
call fcn.0040360c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a1c8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x464bb8]
cmp dword [eax + 0x30], 0
je 0x45a272
cmp dword [ebx + 0x94], 0
jne 0x45a26c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a158
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a26c
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 0x45a232
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a26c
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.00413c58
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a241
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45add4
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 0x45ae09
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.004040d0
jmp 0x45ae16
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404034
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45be78
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45beb9
mov eax, esi
call fcn.004420ac
test al, al
je 0x45beb9
mov eax, dword [ebx + 0x84]
call fcn.00441da8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45beb9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441da8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45e538
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 0x45e798
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x45e59b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0045e050
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040be54
cmp al, 1
jne 0x45e59b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0045e318
test al, al
je 0x45e727
cmp dword [ebp - 8], 0
jge 0x45e5b9
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.0045e050
mov eax, dword [ebp - 0x210]
call fcn.004042a0
cmp ebx, eax
jge 0x45e603
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0045e050
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x463278]
and eax, 0xff
bt dword [edx], eax
jae 0x45e603
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x45e617
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045e514
cmp ebx, dword [ebp - 8]
je 0x45e719
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 0x45e643
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040348c
and eax, 0x7f
movzx eax, word [eax*2 + 0x462e58]
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 0x45e706
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040348c
and eax, 0x7f
movzx eax, word [eax*2 + 0x462e58]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00441da8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040348c
and eax, 0x7f
movzx eax, word [eax*2 + 0x462e58]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00441da8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e70d
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 0x45e77a
cmp dword [ebp - 8], 0
jge 0x45e732
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0045e050
mov eax, dword [ebp - 0x218]
call fcn.004042a0
cmp eax, dword [ebp - 8]
jg 0x45e76c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0045e050
mov eax, dword [ebp - 0x21c]
call fcn.004042a0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045e514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e79f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404004
ret
Function at 0x40a0af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40a0be
pop dword [ebp - 0xc]
mov eax, 0x40a0be
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xa416b818
sub dword [ebp - 0x1c], 0x55c472cd
mov dword [ebp - 0x18], 0x366c464e
add dword [ebp - 0x18], 0xfbc705f7
mov dword [ebp - 0x14], 0x222614f
sub dword [ebp - 0x14], 0xb5d61d21
mov dword [ebp - 0x10], 0x9db97c28
add dword [ebp - 0x10], 0x624683d8
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x1fe56547
add eax, 0xe05b6af1
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x83fdc071
sub dword [ebp - 0x1c], 0xf8b571b
mov dword [ebp - 0x18], 0xeb63bcaf
add dword [ebp - 0x18], 0x5608a4c6
mov dword [ebp - 0x14], 0xae4992eb
add dword [ebp - 0x14], 0xb525d981
mov dword [ebp - 0x10], 0x1d3dc890
sub dword [ebp - 0x10], 0x1d3dc890
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xd0fd9f4c
sub eax, 0xd0bccf18
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x39bc3
push 0
call eax
mov ecx, 0x882c4e4b
add ecx, 0x77d40179
xor esi, esi
add esi, eax
mov edi, 0x415400
add edi, dword [ebp - 0xc]
mov ebx, 0x97f3778b
sub dword [ebp - 8], 0x86c4d877
mov edx, dword [edi]
sub dword [ebp - 8], ecx
sub edx, ebx
xor dword [ebp - 8], edx
mov dword [esi], edx
add dword [ebp - 8], ebx
add esi, 0x30f0f7ce
add esi, 0xcf0f0836
add edi, 0x2714363b
add edi, 0xd8ebc9c9
loop 0x40a1d1
add eax, 0x96cc7c4b
add eax, 0x6934b598
xor ebx, ebx
add ebx, eax
add eax, 0x8952527a
add eax, 0x76adad8b
mov ecx, 0x6fb2b4ec
add ecx, 0x908d4b14
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x40a6c1
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
cmp dword [0x412664], 0
je 0x40a6cd
mov al, 1
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
push 0
push 1
push 0
push 0x40f27c
mov edi, 0x412664
push edi
call esi
test eax, eax
jne 0x40a70f
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x40a70b
push 8
push 1
push 0
push str.__SunJavaKernel
push edi
call esi
test eax, eax
jne 0x40a70f
xor al, al
jmp 0x40a711
mov al, 1
pop edi
pop esi
ret
Function at 0x10001070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
jmp 0x1000113c
lea eax, [ebp - 0x104]
push eax
call fcn.100012e8
push 0x1000107e
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x10001209
lea eax, [ebp - 0x108]
push eax
push 0x20019
push 0
push 0x1000109d
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x1000126e
mov dword [ebp - 0x10c], 0x103
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x100010b7
push dword [ebp - 0x108]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x108]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x1000126e
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x100011ee
mov word [ebx], 0x5c
push 0x10001088
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x1000126e
mov dword [0x1000300c], eax
push 0x10001092
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x10001263
push eax
push 0x3ea
call eax
pop edx
test eax, eax
je 0x10001263
mov dword [0x10003008], eax
push 0x3eb
mov ebx, section..data
call edx
test eax, eax
je 0x10001263
mov dword [section..data], edx
call 0x1000124a
add dword [esp], 0x4db6
call eax
mov dword [0x10003004], eax
sub esp, 4
pop dword [0x10003010]
leave
ret
push dword [0x1000300c]
call sub.KERNEL32.dll_FreeLibrary
mov dword [0x1000300c], 0
mov dword [section..data], 0xffffffff
mov dword [0x10003010], 0
mov dword [0x10003004], 0
mov dword [0x10003008], 0
push 0x10
push 0x10001136
push 0x100010bc
push 0
call sub.USER32.dll_MessageBoxA
push 0xffffffffffffffff
call sub.KERNEL32.dll_ExitProcess
leave
ret

Function at 0x1000be70
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x5d12
jmp fcn.10001058

Function at 0x1000be7a
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x5ce2
jmp fcn.10001058

Function at 0x1000be84
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x5d06
jmp fcn.10001058

Function at 0x1000be8e
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x5cfa
jmp fcn.10001058

Function at 0x1000be98
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x5cee
jmp fcn.10001058
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x8eb008], 0x8088405
inc edx
mov dword [ebx + 0x8eb008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d1c0
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41d1f1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d1d9
add dl, dl
jne 0x41d1fc
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d24d
xor eax, eax
add dl, dl
jne 0x41d209
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d2ea
add dl, dl
jne 0x41d218
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d223
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d22e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d239
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41d243
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41d1e8
mov eax, 1
add dl, dl
jne 0x41d25b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d266
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d252
sub eax, ebx
mov ebx, 1
jne 0x41d299
mov ecx, 1
add dl, dl
jne 0x41d27f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d28a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d276
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d1e8
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d2b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d2bb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d2a7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d1e8
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d30b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41d1e8
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f31c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x8ce80a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f36b
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f38a
mov ecx, edx
add ecx, ebx
jmp 0x41f38a
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f38a
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f3fc
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f3e5
test esi, esi
jbe 0x41f3fc
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088f4
test eax, eax
jne 0x41f3d7
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f3fc
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f3b4
jmp 0x41f3fc
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f3fc
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8ce811
ret