Function at 0x415590
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x450e80
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x38
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov esi, ecx
je 0x415788
mov ecx, dword [esi + 0x1c]
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x18]
push eax
push ecx
call edi
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00443d69
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x38]
push ecx
push edx
call edi
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0044994a
mov ebp, eax
cmp ebp, ebx
jne 0x415602
xor eax, eax
jmp 0x415605
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x50]
call fcn.00449958
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
sub eax, ecx
mov ecx, dword [esp + 0x20]
sub ecx, edi
push eax
push ecx
mov ecx, dword [ebp + 4]
push ecx
lea edi, [esi + 0x64]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00449c55
cmp edi, ebx
jne 0x415648
xor edi, edi
jmp 0x41564b
mov edi, dword [edi + 4]
mov edx, dword [esi + 0x54]
push edi
push edx
call fcn.00449cde
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], vtable.CBitmap.0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x5c]
lea edi, [ebx + 0xe]
push edi
call fcn.00415080
mov ecx, dword [ebp + 4]
push 0
movzx eax, ax
push edi
lea eax, [eax + ebx + 0x36]
push eax
push 4
push edi
push ecx
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push eax
lea ecx, [esp + 0x14]
call fcn.00449c55
lea ecx, [esp + 0x28]
call fcn.00449538
mov eax, dword [ebp + 4]
push eax
mov byte [esp + 0x54], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x2c]
call fcn.00449958
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
push edx
push eax
call fcn.00449cde
mov ebx, eax
mov al, byte [esp + 0x60]
test al, al
push 0xcc0020
je 0x415712
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x34]
sub eax, edx
mov edx, dword [esp + 0x2c]
sub eax, 3
push eax
sub edx, edi
mov edi, dword [esp + 0x2c]
sub edi, dword [esp + 0x24]
push ecx
push edx
mov edx, dword [esi + 0x54]
push edi
push 0
push 0
push edx
jmp 0x415739
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
push 0
push 0
sub eax, ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esi + 0x54]
sub ecx, edi
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test ebx, ebx
je 0x415746
mov ebx, dword [ebx + 4]
mov ecx, dword [esp + 0x2c]
push ebx
push ecx
call fcn.00449cde
mov edx, dword [ebp + 4]
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 0
call fcn.004499d6
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x10], vtable.CGdiObject.0
call fcn.00449cac
pop edi
pop ebp
mov ecx, dword [esp + 0x40]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 0xc