Function at 0x408ec0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x48fdf0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
lea ecx, [esp + 0x2c]
call fcn.0045734e
xor ebx, ebx
mov eax, vtable.CBitmap.0
mov dword [esp + 0x74], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x7c]
cmp ebp, ebx
mov byte [esp + 0x74], 3
jne 0x408f24
xor eax, eax
jmp 0x408f27
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x30]
call fcn.0045785c
call fcn.0045240a
movzx ecx, word [esp + 0x90]
mov eax, dword [eax + 0xc]
mov esi, dword [sym.imp.USER32.dll_LoadBitmapA]
push ecx
push eax
call esi
push eax
lea ecx, [esp + 0x28]
call fcn.00457b23
call fcn.0045240a
movzx edx, word [esp + 0x94]
mov eax, dword [eax + 0xc]
push edx
push eax
call esi
push eax
lea ecx, [esp + 0x20]
call fcn.00457b23
call fcn.0045240a
movzx ecx, word [esp + 0x98]
mov eax, dword [eax + 0xc]
push ecx
push eax
call esi
push eax
lea ecx, [esp + 0x18]
call fcn.00457b23
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
lea edx, [esp + 0x3c]
push edx
push 0x18
push eax
call edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push ecx
push edx
call fcn.00457bc9
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x80]
push 0xcc0020
push ebx
push ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [ebp + 4]
push ecx
push edx
push ebx
push esi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
add esi, dword [esp + 0x40]
push ecx
push edx
call fcn.00457bc9
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x3c]
push eax
push 0x18
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x54]
push edx
push 0x18
push eax
call edi
mov edi, dword [esp + 0x88]
mov ecx, edi
sub ecx, dword [esp + 0x58]
cmp esi, ecx
jge 0x409063
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [ebp + 4]
push eax
push ecx
push ebx
push esi
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, edi
sub eax, dword [esp + 0x58]
add esi, 1
cmp esi, eax
jl 0x409032
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
push ecx
push edx
call fcn.00457bc9
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [ebp + 4]
push ecx
push edx
push ebx
push esi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4090a1
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.00457bc9
mov esi, vtable.CBitmap.0
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 2
mov dword [esp + 0x14], esi
call fcn.00408cb0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 1
mov dword [esp + 0x1c], esi
call fcn.00408cb0
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 0
mov dword [esp + 0x24], esi
call fcn.00408cb0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004578d6
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x20