joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438444
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 0x438460
cmp dword [esi + 4], 0
je 0x43848d
test byte [ebx + 0x55], 1
jne 0x43847f
mov eax, ebx
call fcn.00436fe4
test eax, eax
jne 0x43847f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43859d
mov edx, esi
mov eax, ebx
call fcn.00437f68
jmp 0x43859d
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 0x438596
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043a2dc
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.00434c6c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00438444
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.0043a2dc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43859d
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 0x43ecc4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46eaf4]
cmp byte [eax + 0xc], 0
je 0x43ee31
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43ee2a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46faf8], 0
jne 0x43ed18
push 0x43ee38
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43ee40
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46faf8], eax
cmp dword [0x46db0c], 0
jne 0x43ee13
push 0x43ee50
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46db0c], eax
cmp dword [0x46db0c], 0
je 0x43ee13
push 0x43ee5c
mov eax, dword [0x46db0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fafc], eax
push 0x43ee6c
mov eax, dword [0x46db0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb00], eax
push 0x43ee80
mov eax, dword [0x46db0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb04], eax
push 0x43ee98
mov eax, dword [0x46db0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb08], eax
push 0x43eeb0
mov eax, dword [0x46db0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb0c], eax
push 0x43eec4
mov eax, dword [0x46db0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb10], eax
push 0x43eedc
mov eax, dword [0x46db0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb14], eax
push 0x43eef4
mov eax, dword [0x46db0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb18], eax
push 0x43ef10
mov eax, dword [0x46db0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb1c], eax
push 0x43ef1c
mov eax, dword [0x46db0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ee31
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x442ce4
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.00404280
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x442d33
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.004044f0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a504
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a554]
test si, 4
je 0x44a518
or bl, 1
test si, 8
je 0x44a522
or bl, 4
test si, 1
je 0x44a52c
or bl, 8
test si, 2
je 0x44a536
or bl, 0x10
test si, 0x10
je 0x44a540
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a54f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44a558
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a590]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a571
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a580
or bl, 4
test esi, 0x20000000
je 0x44a58b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450c6c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x450c7e
add esp, 0xfffffff0
call fcn.0040382c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419adc
mov eax, dword [0x46e7a8]
mov dword [eax + 4], ebx
mov dword [eax], 0x451010
mov eax, dword [0x46e7b4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45101c
mov eax, ebx
call fcn.00451028
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411cf4]
call fcn.004034c4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411cf4]
call fcn.004034c4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411cf4]
call fcn.004034c4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411cf4]
call fcn.004034c4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411cf4]
call fcn.004034c4
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, 0x44d440
push eax
push 0
push 0
mov eax, dword [0x46e8fc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b5b4]
call fcn.0041cd4c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b5b4]
call fcn.0041cd4c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b5b4]
call fcn.0041cd4c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045149c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451364
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451364
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451364
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450dbb
call fcn.00403884
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x451124
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4512f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4512d5
mov dl, 1
mov eax, dword [0x412110]
call fcn.004034c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404280
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x4512c4
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.0043f024
test al, al
jne 0x4511c1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4512b7
xor edx, edx
push ebp
push 0x4512b0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4511e1
mov ebx, dword [ebp - 0x10]
jmp 0x4511e3
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x451304
lea eax, [ebp - 0x258]
call fcn.00408f60
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451299
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x45133c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451299
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.004044f0
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
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 - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x451299
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.004044f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4512b7
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x4511a2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415c74
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 0x4512fb
lea eax, [ebp - 0x264]
call fcn.00404280
ret
Function at 0x451c3c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46fb44]
cmp byte [eax + 0xa5], 0
jne 0x451cad
cmp dword [0x46fb5c], 0
jne 0x451c6e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x451bf8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46fb5c], eax
cmp dword [0x46fb58], 0
jne 0x451c89
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46fb58], eax
cmp dword [0x46fb60], 0
jne 0x451cad
push esp
push 0
push 0
push 0x451b9c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46fb60], eax
pop edx
ret

Function at 0x452340
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46fb44]
cmp dword [eax + 0x30], 0
je 0x4523ea
cmp dword [ebx + 0x94], 0
jne 0x4523e4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4522d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4523e4
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 0x4523aa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4523e4
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.00414070
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4523b9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452f48
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 0x452f7d
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.00404370
jmp 0x452f8a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042d4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45409c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4540dd
mov eax, esi
call fcn.0043a5e0
test al, al
je 0x4540dd
mov eax, dword [ebx + 0x84]
call fcn.0043a2dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4540dd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a2dc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4577cc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4577fa
mov eax, ebx
call fcn.00458280
cmp dword [ebx + 0x40], 0
je 0x4577f3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45786b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45785d
cmp dword [ebx + 8], 0
je 0x45781c
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 0x45782e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45785d
cmp dword [ebx + 8], 0
je 0x45780f
cmp eax, 3
je 0x457841
dec eax
jne 0x45780f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45780f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45780f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x457889
cmp dword [ebx + 0x14], 0xcc
je 0x457889
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
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.00457894
pop ebx
ret
Function at 0x469ab0
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 0x469d10
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x469b13
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004695c8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c358
cmp al, 1
jne 0x469b13
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00469890
test al, al
je 0x469c9f
cmp dword [ebp - 8], 0
jge 0x469b31
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.004695c8
mov eax, dword [ebp - 0x210]
call fcn.00404540
cmp ebx, eax
jge 0x469b7b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004695c8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x46ead8]
and eax, 0xff
bt dword [edx], eax
jae 0x469b7b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x469b8f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00469a8c
cmp ebx, dword [ebp - 8]
je 0x469c91
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 0x469bbb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036fc
and eax, 0x7f
movzx eax, word [eax*2 + 0x46e654]
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 0x469c7e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036fc
and eax, 0x7f
movzx eax, word [eax*2 + 0x46e654]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043a2dc
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036fc
and eax, 0x7f
movzx eax, word [eax*2 + 0x46e654]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043a2dc
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469c85
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 0x469cf2
cmp dword [ebp - 8], 0
jge 0x469caa
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004695c8
mov eax, dword [ebp - 0x218]
call fcn.00404540
cmp eax, dword [ebp - 8]
jg 0x469ce4
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004695c8
mov eax, dword [ebp - 0x21c]
call fcn.00404540
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00469a8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469d17
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004042a4
ret
Function at 0x41f573
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f5b2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f5b2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f5b2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f5b2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f5b2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x431790
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4317bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4317bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x21d6058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x21d61a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x21d607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x21d606a
add dl, dl
jne 0x21d6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x21d60dc
xor eax, eax
add dl, dl
jne 0x21d6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x21d617d
add dl, dl
jne 0x21d60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x21d60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x21d60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x21d60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x21d60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x21d6075
mov eax, 1
add dl, dl
jne 0x21d60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x21d60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x21d60e1
sub eax, ebx
mov ebx, 1
jne 0x21d6128
mov ecx, 1
add dl, dl
jne 0x21d610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x21d6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x21d6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x21d6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x21d613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x21d614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x21d6136
cmp eax, 0x7d00
jae 0x21d616d
cmp eax, 0x500
jb 0x21d6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x21d6075
cmp eax, 0x7f
ja 0x21d6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x21d6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x21d619e
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 0x21d6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100bd710
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101e1433
call fcn.1008c7d8
mov eax, dword [0x101dd1b8]
mov dword [ebp - 8], eax
jmp 0x100bd747
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x100bd760
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x100bd75e
mov eax, dword [ebp - 8]
jmp 0x100bd7e3
jmp 0x100bd73f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.1008bbd0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100bd7e0
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x14]
add eax, 0x20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 8]
cmp eax, 0xfe0
jbe 0x100bd7a3
mov eax, dword [ebp - 8]
mov ecx, dword [0x101dd1b8]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov dword [0x101dd1b8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.1008bbd0
mov esp, ebp
pop ebp
ret