Function at 0x4334f0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x8c
push ebp
mov ebp, ecx
cmp byte [ebp + 0x12c], 0
je 0x4338b1
test byte [esp + 0x98], 8
jne 0x43351a
mov eax, dword [ebp + 0x10c]
test eax, eax
jne 0x433520
mov eax, dword [ebp + 0x110]
push esi
xor esi, esi
cmp eax, esi
je 0x4338b0
mov edx, dword [esp + 0xa8]
cmp edx, 0xffffffff
jne 0x433546
mov eax, dword [ebp + 0x114]
mov dword [esp + 0xa8], eax
mov edx, eax
push ebx
mov ebx, dword [esp + 0xb0]
cmp ebx, 0xffffffff
jne 0x433559
mov ebx, dword [ebp + 0x118]
cmp edx, esi
jle 0x4338af
cmp ebx, esi
jle 0x4338af
push edi
mov edi, dword [esp + 0xb8]
cmp edi, esi
jge 0x43357e
mov dword [esp + 0xb8], esi
mov edi, esi
mov ecx, dword [esp + 0xbc]
cmp ecx, esi
jge 0x433592
mov dword [esp + 0xbc], esi
mov ecx, esi
mov esi, dword [ebp + 0x114]
lea eax, [edx + edi]
cmp eax, esi
jle 0x4335ac
mov eax, esi
sub eax, edi
mov dword [esp + 0xb0], eax
mov edx, eax
mov eax, dword [ebp + 0x118]
lea edi, [ebx + ecx]
cmp edi, eax
jle 0x4335bd
mov ebx, eax
sub ebx, ecx
test edx, edx
jle 0x4338ae
test ebx, ebx
jle 0x4338ae
mov ecx, dword [esp + 0xa4]
test cl, 1
je 0x43382b
cmp byte [ebp + 0x11c], 4
jne 0x43382b
mov ecx, dword [0x5362bc]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 8], 0
mov dword [esp + 0x18], eax
je 0x43361c
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x433672
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp + 0x118]
mov edx, dword [ebp + 0x114]
push ecx
push edx
mov edi, eax
push esi
mov dword [esp + 0x1c], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0xb0]
movzx eax, byte [ebp + 0x11c]
mov ecx, dword [0x534324]
imul eax, edx
sub ecx, dword [0x534320]
add eax, 3
and eax, 0xfffffffc
imul eax, ebx
add eax, 0x7c
cmp ecx, eax
jae 0x4336ac
push 0
push eax
mov ecx, 0x534314
call fcn.004332d0
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
push 0xcc0020
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ebx
push edx
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0xb0]
mov eax, ebx
neg eax
mov dword [ebp + 0x94], edx
mov dword [ebp + 0x98], eax
lea esi, [ebp + 0x90]
mov ecx, 0x1f
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, 0x534314
call fcn.0040e270
mov edi, eax
mov ecx, 0x1f
lea esi, [esp + 0x20]
push 0
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, 0x534314
call fcn.0040e270
push eax
push 0
mov ecx, 0x534314
call fcn.0040e270
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add eax, 0x7c
push eax
push ebx
push 0
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetDIBits]
movzx edx, byte [ebp + 0x11c]
mov eax, dword [ebp + 0x118]
mov ecx, dword [ebp + 0x114]
push 1
push edx
push eax
mov eax, dword [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xb8]
push ecx
push eax
mov ecx, ebp
call fcn.00431ef0
mov esi, dword [esp + 0xc8]
add eax, 0x7c
push eax
push edx
push ebx
push esi
push 0
mov ecx, 0x534314
call fcn.0040e270
add eax, 0x7c
push eax
mov ecx, ebp
call fcn.00431f90
push 0
push 0
mov ecx, 0x534314
call fcn.0040e270
push eax
push 0
mov ecx, 0x534314
call fcn.0040e270
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
add eax, 0x7c
push eax
mov eax, dword [esp + 0xac]
push ebx
push 0
push 0
push 0
push ebx
push esi
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 8], 0
jne 0x4338ae
mov edx, dword [esp + 0x1c]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x8c
ret 0x28
neg eax
push ecx
mov ecx, ebp
mov dword [ebp + 0x94], esi
mov dword [ebp + 0x98], eax
call fcn.00431ef0
mov edi, eax
lea esi, [ebp + 0x90]
mov ecx, 0x1f
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xa4]
mov esi, dword [ebp + 0x118]
push 0
push ecx
mov ecx, ebp
call fcn.00431ef0
push eax
mov eax, dword [esp + 0xac]
push eax
call fcn.00431ef0
mov ecx, dword [esp + 0xc0]
add eax, 0x7c
push eax
mov eax, dword [esp + 0xb4]
push esi
push 0
sub esi, ebx
sub esi, dword [esp + 0xd0]
push esi
push ecx
mov ecx, dword [esp + 0xbc]
push ebx
push edx
mov edx, dword [esp + 0xd0]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x8c
ret 0x28