Function at 0x427a10
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, dword [0x6194ec]
cmp esi, 1
push edi
jl 0x427a27
cmp esi, 0x14
jle 0x427a32
mov esi, 3
mov dword [0x6194ec], esi
mov eax, dword [0x6194f0]
xor ebx, ebx
cmp eax, ebx
jl 0x427a42
cmp eax, 0xf
jle 0x427a4c
mov dword [0x6194f0], 4
mov edi, dword [esp + 0x58]
mov eax, dword [edi + 0x189c]
add eax, 0xfffffffe
cmp esi, eax
jl 0x427a5f
mov esi, eax
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 4]
add eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
add ecx, esi
cmp eax, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ecx
je 0x427b4d
mov ecx, dword [0x63ca90]
push ecx
call fcn.0043c610
mov edx, dword [eax*4 + 0x638070]
mov esi, dword [esp + 0x60]
add esp, 4
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push ebx
mov dword [esp + 0x38], ecx
cmp dword [edi + 0x12fc], ebx
push ebx
mov dword [esp + 0x34], eax
push 0x5f4c90
je 0x427b04
mov dword [edi + 0x12fc], ebx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x44], edx
lea edx, [esp + 0x38]
push edx
push 6
push ecx
push eax
push esi
mov dword [esp + 0x50], ecx
call dword [sym.imp.GDI32.dll_ExtTextOutA]
jmp 0x427b51
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebp + 4]
mov edi, dword [sym.imp.GDI32.dll_ExtTextOutA]
mov dword [esp + 0x44], edx
lea edx, [esp + 0x38]
push edx
push 6
push ecx
push eax
push esi
mov dword [esp + 0x50], ecx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
push ebx
push ebx
push 0x5f4c90
lea edx, [esp + 0x38]
push edx
push 6
push eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
push eax
push esi
mov dword [esp + 0x58], ecx
call edi
jmp 0x427b51
mov esi, dword [esp + 0x5c]
mov eax, dword [0x630998]
cmp eax, ebx
je 0x427bd7
lea ecx, [esp + 0x3c]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x427bd7
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x427bd7
mov edx, dword [0x630998]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov dword [esp + 0x64], eax
call edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x24]
sub eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, edx
push ecx
push eax
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x70], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x427c23
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
call edi
mov eax, dword [esp + 0x60]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call edi
mov eax, dword [0x6194f0]
push eax
call fcn.0043c610
mov ecx, dword [eax*4 + 0x638070]
add esp, 4
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0x5f4c90
lea edx, [esp + 0x28]
push edx
push 6
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov edx, dword [ebp + 8]
pop edi
pop esi
mov dword [ebp], edx
pop ebp
pop ebx
add esp, 0x44
ret
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x58], 0
jmp 0x427c40
xor esi, esi
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
push 0xcc0020
push 0
push 0
push ebx
push ecx
push eax
push edx
push esi
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
add esi, eax
cmp esi, ecx
jle 0x427c42
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
add ecx, esi
cmp ecx, edx
mov dword [esp + 0x58], ecx
jle 0x427c40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
push 0xff00ff
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
push 0
push 0
push edi
call fcn.004886b0
mov edx, dword [esp + 0x40]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
add esp, 0x2c
push edx
push edi
call esi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
call edi
mov ecx, dword [esp + 0x60]
push ecx
push ebx
call esi
push ebx
call edi
mov edx, dword [ebp + 8]
pop edi
pop esi
mov dword [ebp], edx
pop ebp
pop ebx
add esp, 0x44
ret