Function at 0x403c70
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x436a88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x445a28]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
push 0x44ad20
lea ecx, [esp + 4]
mov dword [esp + 0x6c], 0
call fcn.00429030
lea ecx, [esp + 0xc]
call fcn.00403880
mov dword [esp + 0xc], 0x4396f8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 2
call fcn.0042ed1e
mov byte [esp + 0x68], 3
call fcn.0042c45d
test eax, eax
je 0x403ce1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x403ce3
xor eax, eax
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x60]
call fcn.0042f2fd
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 4
call fcn.0042ed1e
push 0
push 0
push 0
push str.DISPLAY
mov byte [esp + 0x88], 5
call dword [sym.imp.GDI32.dll_CreateDCA]
push eax
lea ecx, [esp + 0x30]
call fcn.0042edd5
mov esi, dword [esp + 0x88]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
mov edi, dword [esi + 0xc]
mov ebp, dword [esi + 4]
mov ebx, dword [esi]
sub edi, ebp
mov ebp, dword [esi + 8]
sub ebp, ebx
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x40]
call fcn.0042edd5
mov eax, dword [esp + 0x30]
push edi
push ebp
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call fcn.0042f5a5
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.0042ef16
mov ebx, eax
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x4c]
mov ecx, dword [eax + 0x1c]
push edx
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push 0xcc0020
lea edi, [eax + edx]
mov edx, dword [esi]
push edi
lea ebp, [edx + ecx]
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 8]
sub ecx, eax
lea eax, [esp + 0x64]
sub esi, edx
mov edx, dword [esp + 0x68]
push ebp
neg eax
sbb eax, eax
and eax, edx
push eax
mov edx, dword [esp + 0x50]
push ecx
push esi
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x4396ec
mov eax, dword [esp + 0x64]
push 0x26
push eax
mov byte [esp + 0x80], 6
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ah, 1
je 0x403e5f
push 0x408
call fcn.00429881
mov esi, eax
lea eax, [esp + 0x60]
add esp, 4
neg eax
mov word [esi], 0x300
mov ebp, dword [esp + 0x60]
lea ecx, [esi + 4]
sbb eax, eax
push ecx
and eax, ebp
push 0xff
push 0
push eax
call dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
push esi
mov word [esi + 2], ax
call dword [sym.imp.GDI32.dll_CreatePalette]
push eax
lea ecx, [esp + 0x28]
call fcn.0042f5a5
push esi
call fcn.004298aa
add esp, 4
test ebx, ebx
je 0x403e66
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x40]
push ebx
push edx
call fcn.0042ef16
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
push 0
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004039b0
mov esi, dword [esp + 0x84]
lea ecx, [esp + 0x3c]
mov dword [esi], eax
call fcn.0042ee3d
lea ecx, [esp + 0x2c]
call fcn.0042ee3d
mov eax, dword [esi]
mov esi, vtable.CGdiObject.0
test eax, eax
mov dword [esp + 0x24], esi
jne 0x403f1d
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 7
call fcn.0042f5fc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 4
call fcn.0042ee53
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 3
call fcn.0042f36f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 2
call fcn.0042ee53
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 8
call fcn.0042f5fc
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0
call fcn.00428fc2
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], 0xffffffff
call fcn.00428fc2
xor eax, eax
jmp 0x403f8b
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 9
call fcn.0042f5fc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 4
call fcn.0042ee53
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 3
call fcn.0042f36f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 2
call fcn.0042ee53
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 0xa
call fcn.0042f5fc
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0
call fcn.00428fc2
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], 0xffffffff
call fcn.00428fc2
mov eax, 1
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0xc