Function at 0x4150ac
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, 0x4cb2bc
push 0x69
push ebx
call sub.USER32.dll_GetDlgItem
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41552f
mov eax, dword [ebp - 0x30]
push eax
call sub.USER32.dll_GetDC
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x41552f
lea edx, [ebp - 0x40]
push edx
push 0x69
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_GetClientRect
cmp dword [0x4e5360], 0
jne 0x415109
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 esi
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 0xfffffffffffffff8
call sub.GDI32.dll_CreateFontA
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x18], eax
mov ecx, dword [0x4db854]
mov eax, dword [ecx*4 + 0x4dbbd4]
push eax
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 [0x4db854]
mov ecx, dword [edx*4 + 0x4dbbd4]
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, 0x4db858
jmp 0x415273
mov eax, dword [edi + 0x18]
mov edx, dword [eax*4 + 0x4dbbd4]
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, 0x4db83c
push ecx
call fcn.004bceac
pop ecx
push eax
mov eax, esi
shl eax, 3
sub eax, esi
shl eax, 2
add eax, 0x4db83c
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 0x41524c
mov dword [ebp - 0x1c], 0x5f
mov dword [ebp - 0x20], 3
cmp esi, 0x1e
jge 0x41527c
push 0x4cb2cb
mov edx, esi
shl edx, 3
sub edx, esi
shl edx, 2
add edx, 0x4db83c
push edx
call fcn.004bcfe4
add esp, 8
test eax, eax
je 0x41527c
cmp byte [edi], 0
jne 0x4151c9
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 + 0x4db854]
mov edx, dword [eax*4 + 0x4dbbd4]
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 + 0x4db854]
mov eax, dword [ecx*4 + 0x4dbbd4]
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 + 0x4db854]
mov eax, dword [ecx*4 + 0x4dbbd4]
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, 0x4db83c
push edx
call fcn.004bceac
pop ecx
push eax
mov ecx, esi
shl ecx, 3
sub ecx, esi
shl ecx, 2
add ecx, 0x4db83c
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 + 0x4db854]
mov edx, dword [eax*4 + 0x4dbbd4]
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 + 0x4db854]
mov eax, dword [ecx*4 + 0x4dbbd4]
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 + 0x4db854]
mov eax, dword [ecx*4 + 0x4dbbd4]
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, 0x4db83c
push edx
call fcn.004bceac
pop ecx
push eax
mov ecx, esi
shl ecx, 3
sub ecx, esi
shl ecx, 2
add ecx, 0x4db83c
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