Function at 0x41c460
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x110c
call fcn.0043a7e0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x20]
mov ebx, 0x100
mov dword [esp + 0x68], eax
mov dword [esp + 0x48], ebx
cmp dword [ebp + 8], ebx
jb 0x41cc5d
jmp 0x41c494
mov ebx, dword [esp + 0x48]
mov ecx, edi
call fcn.0041ba50
lea eax, [ebx + ebx*2]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], eax
test al, 3
je 0x41c4b1
add eax, 4
and eax, 0xfffffffc
mov dword [edi + 0x10], eax
mov esi, dword [edi + 0x10]
push 0
imul esi, ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x54], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x50]
mov ebx, eax
mov eax, dword [edi + 0xc]
push eax
push eax
push ecx
mov dword [esp + 0x48], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x5c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x60], eax
xor eax, eax
lea edx, [esp + 0x7c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], 0xff
mov eax, dword [esp + 0x10]
shr eax, 3
movzx eax, al
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
add eax, 0xff
add ecx, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ecx
cmp eax, 0x8f7
jb 0x41c537
push 0x2c
lea edx, [esp + 0xf0]
push 0
push edx
call sub.MSVCR90.dll_memset
mov eax, dword [edi + 0xc]
add esp, 0xc
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
push 0xffffff
mov eax, 1
mov ecx, 0x18
push ebx
mov dword [esp + 0xf4], 0x28
mov word [esp + 0x100], ax
mov word [esp + 0x102], cx
mov dword [esp + 0x104], 0
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [esp + 0x4c], 1
test esi, esi
je 0x41cb16
push esi
call sub.mfc90.dll_Ordinal_798
push 0x4000
mov dword [edi + 4], eax
call sub.mfc90.dll_Ordinal_798
push 0x4000
push 0
push eax
mov dword [edi + 8], eax
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x7c]
xor esi, esi
push 0xe0
lea eax, [edi + 0x24]
push esi
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x50], esi
call sub.MSVCR90.dll_memset
add esp, 0x20
xor edx, edx
mov dword [esp + 0x38], edx
jmp 0x41c644
mov edx, dword [esp + 0x38]
push edx
mov ecx, edi
call fcn.0041c0e0
test edx, edx
jne 0x41c659
test eax, eax
jne 0x41c661
lea eax, [edx + 0x64]
jmp 0x41c661
test eax, eax
je 0x41caf6
imul eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
imul eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push 0
push 4
push 0
push 0
push 0
push 0
push 0
push edx
push ecx
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
push 0
mov eax, edx
push 0
shr eax, 0x1f
push 0
add eax, edx
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
push ebx
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
mov dword [esp + 0x68], eax
call dword [sym.imp.GDI32.dll_GetTextCharacterExtra]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edi + ecx*8]
mov dword [esp + 0x78], eax
add eax, 0x24
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push 0x3fc
lea edx, [esp + 0x120]
push 0
push edx
mov dword [esp + 0x124], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x118]
push eax
push 0xff
push 0
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
push 0xbfc
lea ecx, [esp + 0x520]
push 0
push ecx
mov dword [esp + 0x524], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp + 0x518]
push edx
push 0xff
push 0
push ebx
call dword [sym.imp.GDI32.dll_GetCharABCWidthsA]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x14], eax
cmp eax, 0x20
jl 0x41caa8
lea ecx, [eax - 0xc0]
mov dword [esp + 0x24], 0
cmp ecx, 7
ja 0x41c7a5
lea edx, [esp + 0x58]
push edx
push 1
push 0x441080
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ebx, dword [esp + 0x5c]
cmp ebx, dword [esp + 0x30]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
jle 0x41c852
mov dword [esp + 0x30], ebx
jmp 0x41c852
cmp eax, 0x7e
jle 0x41c7b5
cmp eax, 0xb0
jne 0x41caa8
lea eax, [esp + 0x58]
push eax
push 1
lea ecx, [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ebx, dword [esp + 0x5c]
cmp ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], ebx
jle 0x41c7e2
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x70], 0
mov eax, dword [esp + 0x14]
je 0x41c834
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
mov ecx, dword [esp + eax + 0x518]
mov dword [esp + 0x28], eax
test ecx, ecx
jge 0x41c807
mov dword [esp + 0x24], ecx
mov eax, dword [esp + eax + 0x520]
cdq
mov ecx, eax
mov eax, dword [esp + 0x28]
mov eax, dword [esp + eax + 0x518]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x28]
add ecx, eax
add ecx, dword [esp + edx + 0x51c]
jmp 0x41c842
mov ecx, dword [esp + eax*4 + 0x118]
mov edx, dword [esp + 0x78]
add ecx, dword [edx + 0x44]
test ecx, ecx
je 0x41c84a
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x6c]
add dword [esp + 0x18], eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [esp + 0x18]
lea eax, [edx + ecx*2]
mov dword [esp + 0x28], eax
add eax, esi
cmp eax, dword [edi + 0xc]
jle 0x41c87c
mov eax, dword [esp + 0x30]
xor esi, esi
lea edx, [eax + ecx*2]
add dword [esp + 0x40], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x38]
mov ebx, dword [edi + 8]
lea edx, [esi + ecx]
mov esi, dword [esp + 0x14]
shl eax, 8
add esi, eax
shl esi, 4
mov dword [esi + ebx], edx
mov esi, dword [esp + 0x14]
mov ebx, dword [edi + 8]
add esi, eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x40]
add edx, ecx
shl esi, 4
mov dword [esi + ebx + 4], edx
mov esi, dword [esp + 0x10]
mov ebx, dword [edi + 8]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x18]
add edx, esi
mov esi, dword [esp + 0x14]
add esi, eax
add edx, ecx
shl esi, 4
mov dword [esi + ebx + 8], edx
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
add eax, esi
mov esi, dword [edi + 8]
add edx, ebx
shl eax, 4
add edx, ecx
mov dword [eax + esi + 0xc], edx
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
lea edx, [eax + esi]
mov eax, dword [edi + 0xc]
cmp edx, eax
mov dword [esp + 0x74], edx
jg 0x41caba
mov edx, dword [esp + 0x2c]
lea edx, [edx + ecx*2]
add edx, ebx
cmp edx, eax
jg 0x41caba
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
lea edx, [eax - 0xc0]
cmp edx, 7
ja 0x41ca82
fild dword [esp + 0x2c]
add eax, 0xffffff40
xor ecx, ecx
mov dword [esp + 0x18], eax
fdiv qword [0x443860]
xor esi, esi
fstp dword [esp + 0x28]
fild dword [esp + 0x1c]
fstp dword [esp + 0x24]
fild dword [esp + 0x44]
fstp dword [esp + 0x44]
jmp 0x41c962
xor ecx, ecx
fld dword [esp + 0x28]
mov eax, 2
mov edx, 1
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov eax, dword [esp + esi*4 + 0xac]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], ecx
lea ecx, [eax + eax + 1]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xe0], edx
fmul st(1)
fadd dword [esp + 0x24]
call fcn.0043a5e0
mov edx, dword [esp + esi*4 + 0xcc]
mov dword [esp + 0x10], eax
lea eax, [edx + edx + 1]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul st(1)
fadd dword [esp + 0x44]
call fcn.0043a5e0
fild dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
fadd st(1)
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
call fcn.0043a5e0
fiadd dword [esp + 0x1c]
mov dword [esp + 0xa4], eax
call fcn.0043a5e0
mov edx, dword [esp + 0x18]
mov dword [esp + 0xa8], eax
lea eax, [esi + edx]
and eax, 7
mov ecx, dword [esp + eax*4 + 0x7c]
push ecx
lea edx, [esp + 0xa0]
push edx
push ebx
call dword [sym.imp.USER32.dll_FillRect]
inc esi
cmp esi, 8
jb 0x41c960
jmp 0x41ca9c
sub esi, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
push 1
lea eax, [esp + 0x18]
push eax
push edx
add esi, ecx
push esi
push ebx
call dword [sym.imp.GDI32.dll_TextOutA]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], esi
inc eax
cmp eax, 0x100
mov dword [esp + 0x14], eax
jl 0x41c757
jmp 0x41cac6
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x4c], 0
cmp dword [esp + 0x34], 0
je 0x41cae4
mov eax, dword [esp + 0x64]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 4
mov dword [esp + 0x38], eax
jl 0x41c640
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
push 0
lea edx, [esp + 0xf0]
push edx
mov edx, dword [esp + 0x5c]
push eax
push ecx
push 0
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetDIBits]
xor esi, esi
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x24], esi
cmp eax, ecx
jae 0x41cb28
mov ecx, eax
cmp esi, ecx
jae 0x41cbf4
mov ecx, dword [edi + 0x1c]
sub eax, esi
imul ecx, esi
add ecx, dword [edi + 0x14]
dec eax
imul eax, dword [edi + 0x10]
add eax, dword [edi + 4]
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], eax
nop
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x18]
cmp eax, edx
jb 0x41cb5c
mov eax, edx
cmp dword [esp + 0x10], eax
jae 0x41cbee
movzx eax, byte [ecx + 3]
movzx esi, byte [ecx + 1]
imul esi, eax
mov eax, 0x80808081
imul esi
movzx eax, byte [ecx + 3]
add edx, esi
movzx esi, byte [ecx]
imul esi, eax
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x80808081
imul esi
add edx, esi
movzx esi, byte [ecx + 2]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x23], al
movzx eax, byte [ecx + 3]
imul esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
mov esi, dword [esp + 0x34]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, byte [esp + 0x23]
mov byte [esi + 1], bl
mov ebx, dword [esp + 0x3c]
mov byte [esi + 2], al
mov byte [esi], dl
add esi, 3
add ecx, 4
inc dword [esp + 0x10]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x24]
jmp 0x41cb50
inc esi
jmp 0x41cb18
xor esi, esi
mov eax, dword [esp + esi*4 + 0x7c]
test eax, eax
je 0x41cc05
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
inc esi
cmp esi, 8
jb 0x41cbf6
mov esi, dword [esp + 0x54]
test esi, esi
je 0x41cc26
mov eax, dword [esp + 0x60]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x41cc37
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
test ebx, ebx
je 0x41cc42
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [esp + 0x4c], 0
jne 0x41cc5d
mov ecx, dword [esp + 0x48]
lea eax, [ecx + ecx]
mov dword [esp + 0x48], eax
cmp eax, dword [ebp + 8]
jbe 0x41c490
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c