Function at 0x42f2f2
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [0x560930]
cmp eax, 1
jl 0x42f313
cmp eax, 0x14
jle 0x42f31d
mov dword [0x560930], 3
mov eax, dword [0x560934]
test eax, eax
jl 0x42f32b
cmp eax, 0xf
jle 0x42f335
mov dword [0x560934], 4
mov eax, dword [0x560930]
mov edx, dword [edi + 0x99c]
add edx, 0xfffffffe
cmp eax, edx
jl 0x42f349
mov eax, edx
xor edx, edx
mov dword [ebp - 0x30], edx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebx + 4]
add edx, dword [ebx + 0xc]
sar edx, 1
jns 0x42f361
adc edx, 0
mov ecx, eax
sar ecx, 1
jns 0x42f36a
adc ecx, 0
sub edx, ecx
mov dword [ebp - 0x2c], edx
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0x14], 1
je 0x42f425
mov eax, dword [0x5618dc]
push dword [eax*4 + 0x57f828]
push esi
call sub.GDI32.dll_SetBkColor
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x38], edx
cmp dword [edi + 0x6a8], 0
je 0x42f3d7
xor ecx, ecx
mov dword [edi + 0x6a8], ecx
mov eax, dword [ebx + 4]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x34], edx
push 0
push 0
push 0x560a17
lea ecx, [ebp - 0x40]
push ecx
push 6
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push esi
call sub.GDI32.dll_ExtTextOutA
jmp 0x42f425
mov eax, dword [ebx + 4]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
push 0
push 0
push 0x560a1b
lea ecx, [ebp - 0x40]
push ecx
push 6
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push esi
call sub.GDI32.dll_ExtTextOutA
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x34], edx
push 0
push 0
push 0x560a1f
lea ecx, [ebp - 0x40]
push ecx
push 6
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push esi
call sub.GDI32.dll_ExtTextOutA
mov eax, dword [0x56093c]
test eax, eax
je 0x42f56e
lea edx, [ebp - 0x58]
push edx
push 0x18
push eax
call sub.GDI32.dll_GetObjectA
test eax, eax
je 0x42f56e
push esi
call sub.GDI32.dll_CreateCompatibleDC
mov edi, eax
test edi, edi
je 0x42f56e
push dword [0x56093c]
push edi
call sub.GDI32.dll_SelectObject
mov dword [ebp - 4], eax
push esi
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x42f486
push dword [ebp - 4]
push edi
call sub.GDI32.dll_SelectObject
push edi
call sub.GDI32.dll_DeleteDC
jmp 0x42f56e
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42f4c9
push dword [ebp - 0x10]
call sub.GDI32.dll_DeleteDC
push dword [ebp - 4]
push edi
call sub.GDI32.dll_SelectObject
push edi
call sub.GDI32.dll_DeleteDC
jmp 0x42f56e
push dword [ebp - 8]
push dword [ebp - 0x10]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0xcc0020
push 0
push 0
push edi
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call sub.GDI32.dll_BitBlt
mov edx, dword [ebp - 0x54]
add dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x28]
jle 0x42f4e1
mov eax, dword [ebp - 0x50]
add dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x24]
jle 0x42f4dc
push 0xff00ff
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push 0
push 0
push dword [ebp - 0x10]
call fcn.004769e8
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call sub.GDI32.dll_SelectObject
push dword [ebp - 8]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x10]
call sub.GDI32.dll_DeleteDC
push dword [ebp - 4]
push edi
call sub.GDI32.dll_SelectObject
push edi
call sub.GDI32.dll_DeleteDC
mov ecx, dword [ebx + 8]
mov dword [ebx], ecx
jmp 0x42f5a0
mov eax, dword [0x560934]
push dword [eax*4 + 0x57f828]
push esi
call sub.GDI32.dll_SetBkColor
push 0
push 0
push 0x560a23
lea edx, [ebp - 0x30]
push edx
push 6
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push esi
call sub.GDI32.dll_ExtTextOutA
mov ecx, dword [ebx + 8]
mov dword [ebx], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10