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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43c600
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, ecx
mov eax, dword [ebx]
push esi
xor esi, esi
push edi
cmp dword [eax - 8], esi
je 0x4188f7
mov eax, dword [ebp + 0x124]
cmp eax, esi
je 0x418582
cmp dword [ebp + 0x688], 1
jne 0x418465
mov ecx, ebp
call fcn.00416bf0
test eax, eax
jne 0x418582
mov edi, dword [esp + 0x60]
push ebx
lea ecx, [esp + 0x20]
push edi
push ecx
mov ecx, ebp
call fcn.00420150
mov edi, dword [edi + 4]
lea edx, [esp + 0x70]
push edx
push edi
mov dword [esp + 0x78], esi
call sub.gdiplus.dll_GdipCreateFromHDC
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
push 4
push ebp
mov dword [esp + 0x60], esi
call sub.gdiplus.dll_GdipSetSmoothingMode
cmp eax, esi
je 0x4184a9
mov dword [esp + 0x30], eax
push 6
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x43f998
call fcn.00403320
lea eax, [esp + 0x60]
xor edx, edx
push eax
mov eax, dword [esp + 0x70]
mov ecx, eax
mov dl, ah
and ecx, 0xff
and edx, 0xff
or ecx, 0xffffff00
mov dword [esp + 0x38], 0x43f9a0
shl ecx, 8
or ecx, edx
mov dword [esp + 0x64], esi
shr eax, 0x10
shl ecx, 8
and eax, 0xff
or ecx, eax
push ecx
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [ebx]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx - 8]
cdq
idiv ecx
cmp ecx, esi
mov edi, eax
jle 0x418565
lea ebp, [edi - 2]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x70]
sub eax, edi
push ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
sar eax, 1
add eax, edx
mov edx, dword [esp + 0x68]
push ebp
push eax
mov eax, dword [esp + 0x44]
inc edx
push edx
push eax
push ecx
call sub.gdiplus.dll_GdipFillEllipseI
mov edx, dword [esp + 0x64]
mov dword [esp + 0x60], eax
add edx, edi
inc esi
mov dword [esp + 0x64], edx
mov edx, dword [ebx]
cmp esi, dword [edx - 8]
jl 0x418522
mov ebp, dword [esp + 0x70]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], 0x43f998
push eax
call sub.gdiplus.dll_GdipDeleteBrush
push ebp
call sub.gdiplus.dll_GdipDeleteGraphics
jmp 0x4188f7
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x6c]
push eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x38]
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebx]
cmp eax, esi
mov dword [esp + 0x58], 1
mov edx, dword [ecx - 8]
je 0x41872f
push 9
mov ecx, ebx
mov dword [esp + 0x18], edx
call sub.MFC42.DLL_CString::Find
mov ebx, eax
test ebx, ebx
jge 0x4185d1
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4185d1
lea ebx, [eax - 1]
cmp ebx, 0xffffffff
jle 0x4188e6
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
cmp byte [eax + ebx], 9
jne 0x41861e
xor eax, eax
mov edx, ebx
test esi, esi
setl al
dec eax
sub edx, esi
and eax, esi
push edx
mov dword [esp + 0x70], eax
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_CString::operator
mov byte [esp + 0x58], 1
lea ecx, [esp + 0x18]
jmp 0x418655
xor eax, eax
mov edx, ebx
test esi, esi
setl al
dec eax
sub edx, esi
and eax, esi
inc edx
push edx
mov dword [esp + 0x70], eax
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 3
call sub.MFC42.DLL_CString::operator
mov byte [esp + 0x58], 1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
lea edx, [esp + 0x24]
push ecx
push edi
push edx
mov ecx, ebp
call fcn.00420150
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x78]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
lea eax, [edx + esi]
mov edx, dword [esp + 0x64]
add ecx, edx
push eax
push ecx
push esi
push edx
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp + 0xe4]
mov ecx, dword [esp + 0x60]
neg eax
sbb eax, eax
mov edx, dword [ecx - 8]
and eax, 0x20000
mov esi, dword [edi]
or eax, 0x820
push eax
lea eax, [esp + 0x44]
push eax
push edx
push ecx
mov ecx, edi
call dword [esi + 0x70]
mov ecx, dword [ebp + 0xf4]
mov edx, dword [esp + 0x24]
lea esi, [ebx + 1]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x64]
add ecx, eax
push esi
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x74]
push 9
call sub.MFC42.DLL_CString::Find_2
mov ebx, eax
mov eax, dword [esp + 0x14]
cmp esi, eax
jge 0x418721
test ebx, ebx
jge 0x418721
lea ebx, [eax - 1]
cmp ebx, 0xffffffff
jg 0x4185da
jmp 0x4188e6
push 9
mov ecx, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CString::Find
cmp eax, esi
mov dword [esp + 0x6c], eax
jge 0x418757
mov ecx, dword [esp + 0x18]
cmp ecx, esi
jle 0x418757
dec ecx
mov dword [esp + 0x6c], ecx
mov eax, ecx
cmp eax, 0xffffffff
jle 0x4188e6
mov esi, dword [esp + 0x64]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
xor ebx, ebx
mov byte [esp + 0x58], 5
mov edx, dword [ecx]
cmp byte [edx + eax], 9
mov edx, dword [esp + 0x10]
jne 0x418790
sub eax, edx
mov dword [esp + 0x64], eax
jmp 0x41879b
sub eax, edx
mov edx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x64], eax
push eax
xor eax, eax
test edx, edx
setl al
dec eax
and eax, edx
lea edx, [esp + 0x20]
push eax
push edx
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x64]
test eax, eax
jle 0x418898
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], 0xfa0
sub eax, ebx
cmp eax, 0xfa0
jge 0x4187f3
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push ebx
push ecx
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 5
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
lea eax, [esp + 0x2c]
push edx
push edi
push eax
mov ecx, ebp
call fcn.00420150
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x68]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x2c]
add ecx, esi
push eax
push ecx
push edx
lea edx, [esp + 0x4c]
push esi
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp + 0xe4]
mov ecx, dword [esp + 0x14]
neg eax
sbb eax, eax
mov edx, dword [edi]
and eax, 0x20000
or eax, 0x820
push eax
lea eax, [esp + 0x44]
push eax
mov eax, dword [ecx - 8]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x70]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x64]
add ebx, ecx
add esi, edx
cmp ebx, eax
jl 0x4187da
mov edx, dword [esp + 0x6c]
mov ecx, dword [ebp + 0xf4]
lea ebx, [edx + 1]
lea esi, [esi + ecx*4]
mov ecx, dword [esp + 0x70]
push ebx
push 9
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::Find_2
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
cmp ebx, ecx
jge 0x4188cd
test eax, eax
jge 0x4188cd
dec ecx
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 1
call sub.MFC42.DLL_CString::CString
cmp dword [esp + 0x6c], 0xffffffff
jg 0x418764
lea ecx, [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x14