Function at 0x42bd6c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
call fcn.0042b9e0
test al, al
jne 0x42c074
mov byte [ebp - 0x25], 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 [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebx + 0x39], 0
je 0x42bdc6
mov ecx, dword [ebx + 0x35]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 8]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x10], eax
jmp 0x42bdfb
cmp dword [ebx + 0x18], 0
je 0x42bdfb
mov eax, 0x18
call fcn.0040274c
mov esi, eax
push esi
push 0x18
mov eax, dword [ebx + 0x18]
push eax
call sub.gdi32.dll_GetObjectA
test eax, eax
je 0x42bdf4
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.0040276c
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov esi, eax
cmp byte [ebx + 0x34], 1
jne 0x42befe
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov edi, eax
test edi, edi
jne 0x42be43
mov ecx, 0xc249
mov edx, 0x42c084
mov eax, 0x42c0b8
call fcn.00404600
mov eax, dword [ebp - 8]
push eax
push 0
call sub.user32.dll_ReleaseDC
push edi
push esi
call sub.gdi32.dll_SelectObject
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42be72
mov ecx, 0xc24d
mov edx, 0x42c084
mov eax, 0x42c0d4
call fcn.00404600
mov eax, dword [ebx + 0x24]
call fcn.004259c4
push eax
call sub.gdi32.dll_CreateSolidBrush
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x14]
push eax
push 0
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.004256dc
lea eax, [ebp - 0x64]
push eax
push esi
call sub.user32.dll_FillRect
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_DeleteObject
cmp dword [ebx + 0x39], 0
je 0x42bed8
mov eax, dword [ebp - 4]
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 0x42beef
push 0
xor ecx, ecx
mov edx, esi
mov eax, ebx
call fcn.0042b68c
mov eax, dword [ebp - 4]
push eax
push esi
call sub.gdi32.dll_SelectObject
mov eax, ebx
call fcn.0042b5c0
mov dword [ebx + 0x18], edi
jmp 0x42c05a
xor eax, eax
mov al, byte [ebx + 0x41]
movzx eax, byte [eax + 0x46e688]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42bf24
xor eax, eax
mov al, byte [0x46e53c]
movzx eax, byte [eax + 0x46e688]
mov dword [ebp - 0x1c], eax
xor edi, edi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
call fcn.0042b274
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x51]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp byte [ebx + 0x41], 5
jne 0x42bf52
lea eax, [ebp - 0x51]
call fcn.0042b450
lea eax, [ebp - 0x51]
call fcn.0042bd40
imul dword [ebx + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.0040274c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42bf85
mov ecx, 0xc272
mov edx, 0x42c084
mov eax, 0x42c0f8
call fcn.00404600
push 0
lea eax, [ebp - 0x51]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x10]
call fcn.00425754
push eax
push 0
mov eax, ebx
call fcn.0042ba7c
push eax
push esi
call sub.gdi32.dll_GetDIBits
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x10]
call fcn.00425754
cmp eax, dword [ebp - 0x24]
je 0x42c038
mov eax, dword [ebp - 0xc]
call fcn.0040276c
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x51]
push eax
push esi
call sub.gdi32.dll_CreateDIBSection
mov edi, eax
mov byte [ebp - 0x25], 1
test edi, edi
jne 0x42bffd
mov ecx, 0xc27e
mov edx, 0x42c084
mov eax, 0x42c10c
call fcn.00404600
push edi
push esi
call sub.gdi32.dll_SelectObject
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42c021
mov ecx, 0xc280
mov edx, 0x42c084
mov eax, 0x42c144
call fcn.00404600
push 0
xor ecx, ecx
mov edx, esi
mov eax, ebx
call fcn.0042b68c
mov eax, dword [ebp - 4]
push eax
push esi
call sub.gdi32.dll_SelectObject
mov eax, ebx
call fcn.0042b5c0
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x3d], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x39], eax
lea eax, [ebp - 0x51]
mov dword [ebx + 0x35], eax
mov dword [ebx + 0x18], edi
mov al, byte [ebp - 0x25]
mov byte [ebx + 0x6a], al
cmp dword [ebx + 0x42], 0
je 0x42c06e
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, esi
mov eax, ebx
call dword [ebx + 0x42]
push esi
call sub.gdi32.dll_DeleteDC
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret