Function at 0x402e50
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x80
mov eax, dword [0x42b160]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebp
push esi
mov esi, dword [esp + 0x8c]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xf8
mov dword [esp + 0x18], 0x10
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ax, word [esp + 0x1c]
xor ecx, ecx
cmp cx, ax
jne 0x402eb5
lea edx, [esp + 0x28]
push 0x4264f0
push edx
call fcn.0041861e
add esp, 8
jmp 0x402ee9
mov ecx, 6
cmp cx, ax
jne 0x402ed3
lea edx, [esp + 0x28]
push 0x4264e8
push edx
call fcn.0041861e
add esp, 8
jmp 0x402ee9
movzx eax, ax
push eax
lea ecx, [esp + 0x2c]
push 0x4264e0
push ecx
call fcn.0041861e
add esp, 0xc
movzx edx, word [esp + 0x24]
movzx eax, word [esp + 0x22]
movzx ecx, word [esp + 0x20]
push edx
push eax
movzx eax, word [esp + 0x26]
push ecx
movzx ecx, word [esp + 0x26]
lea edx, [esp + 0x34]
push edx
movzx edx, word [esp + 0x28]
push eax
push ecx
push edx
lea eax, [esp + 0x50]
push 0x4264b0
push eax
call fcn.0041861e
mov eax, dword [0x42c608]
add esp, 0x24
test eax, eax
jne 0x402f39
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [0x42c608], eax
cmp dword [0x42c60c], 0
jne 0x402f97
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
mov dword [0x42c60c], eax
mov eax, dword [0x42c608]
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [0x42c60c]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
mov dword [0x42c610], eax
call esi
mov edx, dword [0x42c60c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [0x42c5e4]
mov ecx, dword [0x42c60c]
push eax
push ecx
call esi
cmp dword [0x42c604], 0
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x402fce
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
mov eax, dword [0x42c60c]
push esi
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x402ff8
mov ecx, dword [0x42c5fc]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0xcc0020
push 0x165
push 0x64
push ecx
mov ecx, dword [0x42c60c]
push edx
push eax
push 0
push 0
push ecx
call ebp
push edi
push 0
call fcn.00418511
push eax
call fcn.004185ea
add esp, 8
call fcn.004185fc
cdq
mov ecx, 0xc8
idiv ecx
movzx edi, dl
shl edi, 8
call fcn.004185fc
cdq
mov ecx, 0xc8
idiv ecx
movzx esi, dl
or esi, edi
shl esi, 8
call fcn.004185fc
cdq
mov ecx, 0xc8
idiv ecx
mov eax, dword [0x42c60c]
movzx edx, dl
or edx, esi
push edx
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [esp + 0x38]
lea edx, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403058
push 0x25
sub eax, edx
lea ecx, [esp + 0xc]
push ecx
push eax
mov eax, dword [0x42c60c]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [0x42c60c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [0x42c608]
push edx
push eax
push 0x165
push 0x64
push ecx
call ebp
mov ecx, dword [esp + 0x84]
pop esi
pop ebp
xor ecx, esp
call fcn.0041869b
add esp, 0x80
ret