Function at 0x42b2a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push 0x69
push ebx
call sub.USER32.dll_GetDlgItem
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x42b737
mov eax, dword [ebp - 0x30]
push eax
call sub.USER32.dll_GetDC
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x42b737
lea edx, [ebp - 0x40]
push edx
push 0x69
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_GetClientRect
cmp dword [0x515ee8], 0
jne 0x42b2f8
dec dword [ebp - 0x38]
dec dword [ebp - 0x34]
mov dword [ebp - 0x24], 0x12
mov ecx, dword [ebp - 0x28]
push ecx
call sub.GDI32.dll_CreateCompatibleDC
mov ebx, eax
mov eax, dword [ebp - 0x34]
push eax
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x28]
push ecx
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 8], eax
push 0x4f2c7d
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x48
push 0x5a
mov edx, dword [ebp - 0x28]
push edx
call sub.GDI32.dll_GetDeviceCaps
push eax
push 8
call sub.KERNEL32.dll_MulDiv
neg eax
push eax
call sub.GDI32.dll_CreateFontA
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x18], eax
mov eax, dword [0x50957c]
mov edx, dword [eax*4 + 0x5098fc]
push edx
call sub.GDI32.dll_CreateSolidBrush
mov edi, eax
push edi
lea eax, [ebp - 0x40]
push eax
push ebx
call sub.USER32.dll_FillRect
push edi
call sub.GDI32.dll_DeleteObject
mov edx, dword [0x50957c]
mov ecx, dword [edx*4 + 0x5098fc]
push ecx
push ebx
call sub.GDI32.dll_SetBkColor
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x20], 3
mov esi, 1
mov edi, 0x509580
jmp 0x42b47b
mov eax, dword [edi + 0x18]
mov edx, dword [eax*4 + 0x5098fc]
push edx
push ebx
call sub.GDI32.dll_SetTextColor
mov dword [ebp - 0xc], eax
push 0
mov ecx, esi
shl ecx, 3
sub ecx, esi
shl ecx, 2
add ecx, 0x509564
push ecx
call fcn.00401318
pop ecx
push eax
mov eax, esi
shl eax, 3
sub eax, esi
shl eax, 2
add eax, 0x509564
push eax
lea edx, [ebp - 0x40]
push edx
push 4
mov ecx, dword [ebp - 0x20]
push ecx
mov eax, dword [ebp - 0x1c]
push eax
push ebx
call sub.GDI32.dll_ExtTextOutA
mov edx, dword [ebp - 0xc]
push edx
push ebx
call sub.GDI32.dll_SetTextColor
inc esi
add edi, 0x1c
add dword [ebp - 0x20], 0xf
mov ecx, dword [ebp - 0x24]
add ecx, 0xf
mov eax, dword [ebp - 0x34]
sub eax, ecx
cmp eax, dword [ebp - 0x20]
jg 0x42b454
mov dword [ebp - 0x1c], 0x67
mov dword [ebp - 0x20], 3
cmp esi, 0x1e
jge 0x42b484
push 0x4f2c8c
mov edx, esi
shl edx, 3
sub edx, esi
shl edx, 2
add edx, 0x509564
push edx
call fcn.004014a8
add esp, 8
test eax, eax
je 0x42b484
cmp byte [edi], 0
jne 0x42b3d1
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
call sub.GDI32.dll_SetBkColor
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x34]
mov edx, eax
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
push 0
push 1
push 0
call sub.GDI32.dll_CreatePen
mov edi, eax
push edi
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x2c], eax
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov edx, dword [ebp - 0x50]
push edx
push ebx
call sub.GDI32.dll_MoveToEx
mov ecx, dword [ebp - 0x4c]
push ecx
mov eax, dword [ebp - 0x48]
push eax
push ebx
call sub.GDI32.dll_LineTo
mov edx, dword [ebp - 0x2c]
push edx
push ebx
call sub.GDI32.dll_SelectObject
push edi
call sub.GDI32.dll_DeleteObject
inc dword [ebp - 0x4c]
mov ecx, esi
shl ecx, 3
sub ecx, esi
mov eax, dword [ecx*4 + 0x50957c]
mov edx, dword [eax*4 + 0x5098fc]
push edx
call sub.GDI32.dll_CreateSolidBrush
mov edi, eax
push edi
lea eax, [ebp - 0x50]
push eax
push ebx
call sub.USER32.dll_FillRect
push edi
call sub.GDI32.dll_DeleteObject
mov edx, esi
shl edx, 3
sub edx, esi
mov ecx, dword [edx*4 + 0x50957c]
mov eax, dword [ecx*4 + 0x5098fc]
push eax
push ebx
call sub.GDI32.dll_SetBkColor
mov dword [ebp - 0x10], eax
inc esi
mov edx, esi
shl edx, 3
sub edx, esi
mov ecx, dword [edx*4 + 0x50957c]
mov eax, dword [ecx*4 + 0x5098fc]
push eax
push ebx
call sub.GDI32.dll_SetTextColor
mov dword [ebp - 0xc], eax
push 0
mov edx, esi
shl edx, 3
sub edx, esi
shl edx, 2
add edx, 0x509564
push edx
call fcn.00401318
pop ecx
push eax
mov ecx, esi
shl ecx, 3
sub ecx, esi
shl ecx, 2
add ecx, 0x509564
push ecx
lea eax, [ebp - 0x40]
push eax
push 4
mov edx, dword [ebp - 0x4c]
add edx, 2
push edx
push 5
push ebx
call sub.GDI32.dll_ExtTextOutA
mov ecx, dword [ebp - 0xc]
push ecx
push ebx
call sub.GDI32.dll_SetTextColor
mov eax, dword [ebp - 0x10]
push eax
push ebx
call sub.GDI32.dll_SetBkColor
mov eax, dword [ebp - 0x38]
mov edx, eax
add edx, 0xffffffa6
mov dword [ebp - 0x50], edx
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
push 0
push 1
push 0
call sub.GDI32.dll_CreatePen
mov edi, eax
push edi
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x2c], eax
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov edx, dword [ebp - 0x50]
push edx
push ebx
call sub.GDI32.dll_MoveToEx
mov ecx, dword [ebp - 0x44]
push ecx
mov eax, dword [ebp - 0x50]
push eax
push ebx
call sub.GDI32.dll_LineTo
mov edx, dword [ebp - 0x2c]
push edx
push ebx
call sub.GDI32.dll_SelectObject
push edi
call sub.GDI32.dll_DeleteObject
inc dword [ebp - 0x50]
inc esi
mov ecx, esi
shl ecx, 3
sub ecx, esi
mov eax, dword [ecx*4 + 0x50957c]
mov edx, dword [eax*4 + 0x5098fc]
push edx
call sub.GDI32.dll_CreateSolidBrush
mov edi, eax
push edi
lea eax, [ebp - 0x50]
push eax
push ebx
call sub.USER32.dll_FillRect
push edi
call sub.GDI32.dll_DeleteObject
mov edx, esi
shl edx, 3
sub edx, esi
mov ecx, dword [edx*4 + 0x50957c]
mov eax, dword [ecx*4 + 0x5098fc]
push eax
push ebx
call sub.GDI32.dll_SetBkColor
mov dword [ebp - 0x10], eax
inc esi
mov dword [ebp - 0x20], 3
mov edx, esi
shl edx, 3
sub edx, esi
mov ecx, dword [edx*4 + 0x50957c]
mov eax, dword [ecx*4 + 0x5098fc]
push eax
push ebx
call sub.GDI32.dll_SetTextColor
mov dword [ebp - 0xc], eax
push 0
mov edx, esi
shl edx, 3
sub edx, esi
shl edx, 2
add edx, 0x509564
push edx
call fcn.00401318
pop ecx
push eax
mov ecx, esi
shl ecx, 3
sub ecx, esi
shl ecx, 2
add ecx, 0x509564
push ecx
lea eax, [ebp - 0x40]
push eax
push 4
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 4
push ecx
push ebx
call sub.GDI32.dll_ExtTextOutA
mov eax, dword [ebp - 0x10]
push eax
push ebx
call sub.GDI32.dll_SetBkColor
mov edx, dword [ebp - 0xc]
push edx
push ebx
call sub.GDI32.dll_SetTextColor
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
call sub.GDI32.dll_SelectObject
mov eax, dword [ebp - 0x14]
push eax
call sub.GDI32.dll_DeleteObject
push 0xcc0020
push 0
push 0
push ebx
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x38]
push ecx
push 0
push 0
mov eax, dword [ebp - 0x28]
push eax
call sub.GDI32.dll_BitBlt
mov edx, dword [ebp - 8]
push edx
push ebx
call sub.GDI32.dll_SelectObject
mov ecx, dword [ebp - 4]
push ecx
call sub.GDI32.dll_DeleteObject
push ebx
call sub.GDI32.dll_DeleteDC
mov eax, dword [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x30]
push edx
call sub.USER32.dll_ReleaseDC
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4