Function at 0x4049f0
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43bd28
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
mov esi, ecx
mov al, byte [esi + 0x55]
test al, al
jne 0x404a89
push str.Init_required_
lea ecx, [esp + 8]
call fcn.00404890
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], 0x200
mov dword [esp + 0x38], 0x20
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00404940
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404c88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8
push edi
lea ecx, [esp + 0x20]
call fcn.00432333
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x4c], 1
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00432775
mov edi, eax
test edi, edi
je 0x404ab4
mov eax, dword [edi + 4]
push ebx
push ebp
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x2c]
call fcn.00432783
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], vtable.CBitmap.0
mov eax, dword [esi + 0x894]
mov ecx, dword [esi + 0x890]
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
mov byte [esp + 0x5c], 2
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x18]
call fcn.00432a6a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
push edx
push eax
call fcn.00432af3
mov edx, dword [edi + 4]
mov ecx, dword [esi + 0x890]
push 0xcc0020
push 0
push 0
push edx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x894]
push eax
push ecx
mov ecx, dword [esp + 0x44]
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 0x884]
lea edx, [esp + 0x1c]
push edx
call fcn.00401030
push 0
mov ecx, esi
call fcn.00403fb0
push 1
mov ecx, esi
mov ebp, eax
call fcn.00403fb0
mov ebx, eax
cmp dword [esi + 0x880], 1
mov dword [esi + 0xca8], ebp
mov dword [esi + 0xcac], ebx
jne 0x404ba7
mov eax, dword [esi + 0x894]
mov ecx, dword [esi + 0x890]
push 0
push eax
push ecx
push 0
push 0
lea ecx, [esp + 0x3c]
call fcn.00436edd
cmp dword [esi + 0x880], 1
jne 0x404ba7
push 0
push 0
lea edx, [esp + 0x30]
push edx
jmp 0x404bb0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00403be0
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00403ac0
cmp ebp, dword [esp + 0x1c]
jge 0x404be5
cmp ebx, dword [esp + 0x20]
jge 0x404be5
test ebp, ebp
jl 0x404be5
test ebx, ebx
jl 0x404be5
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.004037c0
jmp 0x404bf7
or eax, 0xffffffff
or ecx, 0xffffffff
mov dword [esi + 0xca8], eax
mov dword [esi + 0xcac], ecx
cmp dword [esi + 0x880], 1
pop ebp
pop ebx
jne 0x404c12
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00403be0
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x894]
mov ecx, dword [esi + 0x890]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [edi + 4]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 8]
test eax, eax
je 0x404c47
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.00432af3
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 1
mov dword [esp + 0xc], vtable.CGdiObject.0
call fcn.00432ac1
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
call fcn.004327eb
pop edi
mov ecx, dword [esp + 0x3c]
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret 8