Function at 0x429259
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x531670
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebp
push esi
mov esi, ecx
call fcn.0050e2a0
mov eax, dword [0x5a1fe0]
xor ebp, ebp
cmp dword [eax + 0x10], ebp
je 0x429577
cmp dword [0x5a1ed4], ebp
je 0x429577
push ebx
push edi
push esi
lea ecx, [esp + 0x44]
call fcn.00515b83
mov edx, dword [0x5a1db4]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x60], ebp
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x5a1db4]
call fcn.005113de
test eax, 0x40000
je 0x4292d2
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call edi
push 0x20
mov ebx, eax
call edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x10]
jmp 0x4292ee
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 8
call edi
push 7
mov ebx, eax
call edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x10]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x30]
call fcn.005150d2
mov edi, dword [esp + 0x44]
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
mov byte [esp + 0x5c], 1
and eax, edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x34]
call fcn.00515189
mov edx, dword [0x5a19fc]
mov eax, 0x5a19f8
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.005152ca
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x150]
mov ecx, eax
sub ecx, edi
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [ecx + edx + 8]
test ecx, ecx
jle 0x4293ae
mov edx, dword [esp + 0x34]
mov ecx, ebp
sub ecx, eax
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x1c]
push 0
push 0
push eax
mov eax, dword [esp + 0x54]
push 8
push edx
push ecx
push 0
push eax
call edi
mov eax, dword [esi + 0x150]
mov edx, dword [esp + 0x24]
mov ecx, eax
add ebp, 8
sub ecx, edx
mov edx, dword [esp + 0x2c]
lea ecx, [ecx + edx + 8]
cmp ebp, ecx
jl 0x429364
mov edx, dword [0x5a19f4]
mov eax, 0x5a19f0
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.005152ca
mov eax, dword [esi + 0x150]
mov ecx, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x20]
mov edx, ecx
xor ebp, ebp
sub edx, eax
add edx, 8
test edx, edx
jle 0x42942e
mov edx, dword [esp + 0x34]
sub ecx, ebp
sub ecx, eax
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
push 0
push 0
push eax
mov eax, dword [esp + 0x54]
push ebx
push 8
push 0
push ecx
push eax
call edi
mov ecx, dword [esi + 0x150]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add ecx, edx
mov edx, ecx
add ebp, 8
sub edx, eax
add edx, 8
cmp ebp, edx
jl 0x4293e7
mov edx, dword [0x5a19fc]
mov eax, 0x5a19f8
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.005152ca
mov ecx, dword [esi + 0x150]
mov edx, dword [esp + 0x24]
sub ecx, edx
mov edx, dword [esp + 0x2c]
add edx, ecx
xor ebp, ebp
lea eax, [edx + 8]
test eax, eax
jle 0x4294b5
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
sub ecx, ebx
sub edx, ebp
sub ecx, eax
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
push 0xcc0020
and eax, dword [esp + 0x38]
push 0
push 0
push eax
mov eax, dword [esp + 0x28]
push 8
push eax
push edx
push ecx
mov ecx, dword [esp + 0x64]
push ecx
call edi
mov edx, dword [esi + 0x150]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
sub edx, ecx
add edx, eax
add ebp, 8
lea ecx, [edx + 8]
cmp ebp, ecx
jl 0x429465
mov edx, dword [0x5a19f4]
mov eax, 0x5a19f0
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.005152ca
mov eax, dword [esi + 0x150]
mov edx, dword [esp + 0x20]
mov ecx, eax
xor ebp, ebp
sub ecx, edx
mov edx, dword [esp + 0x28]
lea ecx, [ecx + edx + 8]
test ecx, ecx
jle 0x429540
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
sub ecx, edx
mov edx, dword [esp + 0x18]
sub ecx, edx
mov edx, ebp
sub edx, eax
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
push 0xcc0020
and eax, dword [esp + 0x38]
push 0
push 0
push eax
push ebx
push 8
push ecx
push edx
mov edx, dword [esp + 0x64]
push edx
call edi
mov eax, dword [esi + 0x150]
mov edx, dword [esp + 0x20]
mov ecx, eax
add ebp, 8
sub ecx, edx
mov edx, dword [esp + 0x28]
lea ecx, [ecx + edx + 8]
cmp ebp, ecx
jl 0x4294ed
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x429558
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x2c]
push edx
push eax
call fcn.005152ca
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 0
call fcn.00515207
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xffffffff
call fcn.00515bf5
mov ecx, dword [esp + 0x4c]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x50
ret