Function at 0x41d930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42c233
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc0]
push edi
mov edi, ecx
mov edx, dword [esi]
push 7
mov eax, dword [edi + 0x40]
mov ecx, esi
mov dword [esp + 0x84], eax
call dword [edx + 0x2c]
xor ebx, ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], 0x42ecb0
lea ecx, [esp + 0x6c]
mov dword [esp + 0xbc], ebx
call sub.mfc42.dll_CString::CString
push 0x11b
lea ecx, [esp + 0x70]
mov byte [esp + 0xc0], 1
call sub.mfc42.dll_CString::LoadStringA
mov eax, dword [esp + 0x6c]
push eax
push 0x30
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push 0xa
call dword [sym.imp.gdi32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x7c]
call sub.mfc42.dll_CGdiObject::Attach
mov edx, dword [esi]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call dword [edx + 0x30]
push 1
mov ecx, esi
mov dword [esp + 0xa0], eax
call sub.mfc42.dll_CDC::SetBkMode
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.user32.dll_GetClientRect]
lea eax, [esp + 0x5c]
mov ecx, esi
push eax
call sub.mfc42.dll_CDC::IntersectClipRect
mov ecx, dword [edi + 0xd8]
mov ebp, dword [esp + 0x64]
mov edx, dword [edi + 0xdc]
mov ebx, dword [esp + 0x68]
mov eax, dword [edi + 0x68]
sub ebp, ecx
mov ecx, dword [edi + 0x64]
sub ebx, edx
push eax
lea edx, [esp + 0x98]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebx
call fcn.0041f440
mov ebp, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], ecx
add eax, 0x17
push 0xc0c0c0
push edx
mov ecx, esi
mov dword [esp + 0x30], eax
call sub.mfc42.dll_CDC::FillSolidRect_1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov ebx, dword [edi + 0x84]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, 0xffffffe2
sub edx, ebx
add ecx, 0xc
add eax, edx
push ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x50]
mov ecx, esi
lea eax, [eax + ebx + 0x1e]
push eax
push edx
mov dword [esp + 0x28], eax
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add eax, 0xc
push eax
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ecx
lea eax, [esp + 0x50]
push edx
push eax
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x14]
call sub.mfc42.dll_CString::CString
mov eax, dword [edi + 0x6c]
mov byte [esp + 0xbc], 2
test eax, eax
mov dword [esp + 0x18], 0
jle 0x41d585
lea eax, [ebx + ebp]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
sub ebp, ebx
sub ecx, ebx
cmp ebp, eax
mov dword [esp + 0x4c], ecx
jl 0x41d585
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x70]
push ecx
push ebp
push edx
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esp + 0x28]
mov ecx, esi
push eax
push ebp
call sub.mfc42.dll_CDC::LineTo
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x4c]
mov eax, dword [esp + 0x18]
sub ecx, edx
cmp eax, ecx
jg 0x41d55a
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push 0x435030
push eax
call sub.mfc42.dll_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
and ecx, 0x80000001
jns 0x41d4d8
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x41d515
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov edx, dword [esi]
lea ecx, [eax + 0xc]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xa4], ebp
push 0x25
lea ecx, [esp + 0xa8]
jmp 0x41d54f
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x84], ebp
lea eax, [edx + 0xc]
mov edx, dword [esi]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x14]
push 0x25
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x54]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x41d571
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x6c]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x41d465
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x2c]
mov dword [esp + 0x38], ecx
add eax, 0x1e
push 0xc0c0c0
push edx
mov ecx, esi
mov dword [esp + 0x3c], eax
call sub.mfc42.dll_CDC::FillSolidRect_1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push eax
lea edx, [esp + 0x74]
push ecx
push edx
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], eax
lea edx, [esp + 0x3c]
mov dword [esp + 0x48], ecx
add eax, 0xffffffe2
push 0xc0c0c0
push edx
mov ecx, esi
mov dword [esp + 0x44], eax
call sub.mfc42.dll_CDC::FillSolidRect_1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
push eax
lea edx, [esp + 0x74]
push ecx
push edx
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
dec eax
push edx
lea ecx, [esp + 0x74]
push eax
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
dec eax
push edx
push eax
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov ebx, dword [edi + 0x84]
add eax, 0x17
add edx, 0x17
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x2c]
push eax
lea edx, [esp + 0x74]
push ecx
push edx
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x74]
push eax
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push edx
push eax
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [edi + 0x70]
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
test eax, eax
mov dword [esp + 0x18], 0
jle 0x41d8d2
mov eax, dword [esp + 0x68]
add ebp, ebx
cmp ebp, eax
jg 0x41d8d2
mov edx, dword [esp + 0x2c]
push ebp
lea eax, [esp + 0x74]
push edx
push eax
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esp + 0x34]
push ebp
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov edx, dword [edi + 0x58]
mov ecx, dword [edi + 0x50]
mov eax, dword [esp + 0x18]
sub edx, ecx
cmp eax, edx
jg 0x41d81c
push 0xa
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CString::GetBuffer
mov edx, eax
xor ecx, ecx
push eax
mov eax, dword [esp + 0x14]
mov dword [edx], ecx
push eax
mov dword [edx + 4], ecx
mov word [edx + 8], cx
mov ecx, dword [esp + 0x88]
call fcn.00411760
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CString::ReleaseBuffer
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, ebp
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
sub edx, ebx
lea ecx, [esp + 0x4c]
push 0x21
mov dword [esp + 0x54], edx
mov edx, dword [esi]
mov dword [esp + 0x5c], ebp
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
cmp dword [edi + 0x84], 0x14
jne 0x41d81c
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x80]
push edx
call fcn.00411960
fcom dword [0x42e958]
fnstsw ax
test ah, 0x40
jne 0x41d81a
sub esp, 8
lea eax, [esp + 0x1c]
fstp qword [esp]
push 0x435114
push eax
call sub.mfc42.dll_CString::Format
mov eax, ebx
mov ecx, dword [esp + 0x3c]
cdq
sub eax, edx
add esp, 0x10
mov edx, eax
mov eax, ebp
sar edx, 1
sub eax, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x4c]
push 0x21
mov dword [esp + 0x58], edx
mov edx, dword [esi]
mov dword [esp + 0x5c], ebp
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
jmp 0x41d81c
fstp st(0)
mov edx, dword [esp + 0x3c]
push ebp
lea eax, [esp + 0x98]
push edx
push eax
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esp + 0x44]
push ebp
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov edx, dword [edi + 0x58]
mov ecx, dword [edi + 0x50]
mov eax, dword [esp + 0x18]
sub edx, ecx
cmp eax, edx
jg 0x41d8a7
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x435030
push ecx
call sub.mfc42.dll_CString::Format
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov eax, ebp
add esp, 0xc
sub eax, ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x84]
push 0x25
mov dword [esp + 0x90], edx
mov edx, dword [esi]
mov dword [esp + 0x94], ebp
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x58]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x41d8be
mov edx, dword [edi + 0x50]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x70]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x41d6f4
mov eax, dword [esp + 0xa0]
mov ecx, esi
push eax
call sub.mfc42.dll_CDC::SelectObject
mov eax, dword [esp + 0x9c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
push 2
mov ecx, esi
call sub.mfc42.dll_CDC::SetBkMode
lea ecx, [esp + 0x14]
mov byte [esp + 0xbc], 1
call fcn.0042a3b0
lea ecx, [esp + 0x6c]
mov byte [esp + 0xbc], 0
call fcn.0042a3b0
mov dword [esp + 0x78], 0x42ecd8
lea ecx, [esp + 0x78]
mov dword [esp + 0xbc], 3
call sub.mfc42.dll_CGdiObject::DeleteObject
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret 4