Function at 0x42cfdc
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov ebx, eax
mov eax, ebx
call fcn.0042caac
test al, al
jne 0x42d27c
mov byte [esp + 0x20], 0
mov eax, ebx
call dword [ebx + 0x2c]
xor eax, eax
mov dword [ebx + 0x20], eax
xor eax, eax
mov dword [ebx + 0x4e], eax
xor eax, eax
mov dword [ebx + 0x52], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0xc], eax
mov ebp, dword [ebx + 0x10]
cmp dword [ebx + 0x39], 0
je 0x42d033
mov ecx, dword [ebx + 0x35]
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 8]
cdq
xor eax, edx
sub eax, edx
mov ebp, eax
jmp 0x42d066
cmp dword [ebx + 0x18], 0
je 0x42d066
mov eax, 0x18
call fcn.00402ae0
mov esi, eax
push esi
push 0x18
mov eax, dword [ebx + 0x18]
push eax
call sub.gdi32.dll_GetObjectA
test eax, eax
je 0x42d05f
mov eax, dword [esi + 4]
mov dword [esp + 0xc], eax
mov ebp, dword [esi + 8]
mov eax, esi
call fcn.00402b10
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov esi, eax
cmp byte [ebx + 0x34], 1
jne 0x42d13f
push 0
call sub.user32.dll_GetDC
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov edi, eax
mov eax, dword [esp + 4]
push eax
push 0
call sub.user32.dll_ReleaseDC
push edi
push esi
call sub.gdi32.dll_SelectObject
mov dword [esp], eax
mov eax, dword [ebx + 0x24]
call fcn.00425bf8
push eax
call sub.gdi32.dll_CreateSolidBrush
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x14]
push eax
push 0
push 0
lea eax, [esp + 0x64]
push eax
call fcn.004258e8
lea eax, [esp + 0x54]
push eax
push esi
call sub.user32.dll_FillRect
mov eax, dword [esp + 0x18]
push eax
call sub.gdi32.dll_DeleteObject
cmp dword [ebx + 0x39], 0
je 0x42d119
mov eax, dword [esp]
push eax
push esi
call sub.gdi32.dll_SelectObject
push 0
mov eax, dword [ebx + 0x35]
push eax
mov eax, dword [ebx + 0x39]
push eax
mov eax, dword [ebx + 0x10]
push eax
push 0
push edi
push esi
call sub.gdi32.dll_SetDIBits
jmp 0x42d130
push 0
xor ecx, ecx
mov edx, esi
mov eax, ebx
call fcn.0042c54c
mov eax, dword [esp]
push eax
push esi
call sub.gdi32.dll_SelectObject
mov eax, ebx
call fcn.0042c440
mov dword [ebx + 0x18], edi
jmp 0x42d264
xor eax, eax
mov al, byte [ebx + 0x41]
movzx eax, byte [eax + 0x46a7fc]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
jne 0x42d168
xor eax, eax
mov al, byte [0x46a55c]
movzx eax, byte [eax + 0x46a7fc]
mov dword [esp + 0x14], eax
xor edi, edi
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
call fcn.0042c2d0
push esi
push edi
mov esi, eax
lea edi, [esp + 0x29]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp byte [ebx + 0x41], 5
jne 0x42d199
lea eax, [esp + 0x21]
call fcn.0042c388
lea eax, [esp + 0x21]
call fcn.0042cfb0
imul dword [ebx + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
call fcn.00402ae0
mov dword [esp + 8], eax
push 0
lea eax, [esp + 0x25]
push eax
mov eax, dword [esp + 0x10]
push eax
mov edx, ebp
mov eax, dword [ebx + 0x10]
call fcn.004259c4
push eax
push 0
mov eax, ebx
call fcn.0042cac0
push eax
push esi
call sub.gdi32.dll_GetDIBits
mov dword [esp + 0x1c], eax
mov edx, ebp
mov eax, dword [ebx + 0x10]
call fcn.004259c4
cmp eax, dword [esp + 0x1c]
je 0x42d23e
mov eax, dword [esp + 8]
call fcn.00402b10
xor eax, eax
mov dword [esp + 8], eax
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x31]
push eax
push esi
call sub.gdi32.dll_CreateDIBSection
mov edi, eax
mov byte [esp + 0x20], 1
push edi
push esi
call sub.gdi32.dll_SelectObject
mov dword [esp], eax
push 0
xor ecx, ecx
mov edx, esi
mov eax, ebx
call fcn.0042c54c
mov eax, dword [esp]
push eax
push esi
call sub.gdi32.dll_SelectObject
mov eax, ebx
call fcn.0042c440
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x3d], eax
mov eax, dword [esp + 8]
mov dword [ebx + 0x39], eax
lea eax, [esp + 0x21]
mov dword [ebx + 0x35], eax
mov dword [ebx + 0x18], edi
mov al, byte [esp + 0x20]
mov byte [ebx + 0x6a], al
cmp dword [ebx + 0x42], 0
je 0x42d276
push ebp
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, ebx
call dword [ebx + 0x42]
push esi
call sub.gdi32.dll_DeleteDC
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret