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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42f0b8
push eax
mov dword fs:[0], esp
sub esp, 0x68
xor edx, edx
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov edi, dword [ebp + 0x214]
cmp edi, edx
je 0x418197
cmp dword [ebp + 0x230], edx
je 0x417d13
mov eax, dword [edi + 4]
mov esi, 0x438dcc
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x417d02
test cl, cl
je 0x417cfe
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x417d02
add eax, 2
add esi, 2
test cl, cl
jne 0x417cde
xor eax, eax
jmp 0x417d07
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edx
mov dword [esp + 0x14], 1
jne 0x417d17
mov dword [esp + 0x14], edx
cmp dword [ebp + 0x234], edx
je 0x417d5c
mov eax, dword [edi + 8]
mov esi, 0x438dcc
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x417d4b
test cl, cl
je 0x417d47
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x417d4b
add eax, 2
add esi, 2
test cl, cl
jne 0x417d27
xor eax, eax
jmp 0x417d50
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edx
mov dword [esp + 0x18], 1
jne 0x417d60
mov dword [esp + 0x18], edx
cmp dword [ebp + 0x238], edx
je 0x417da5
mov eax, dword [edi + 0xc]
mov esi, 0x438dcc
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x417d94
test cl, cl
je 0x417d90
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x417d94
add eax, 2
add esi, 2
test cl, cl
jne 0x417d70
xor eax, eax
jmp 0x417d99
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edx
mov dword [esp + 0x20], 1
jne 0x417da9
mov dword [esp + 0x20], edx
cmp dword [ebp + 0x23c], edx
je 0x417dee
mov eax, dword [edi + 0x10]
mov esi, 0x438dcc
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x417ddd
test cl, cl
je 0x417dd9
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x417ddd
add eax, 2
add esi, 2
test cl, cl
jne 0x417db9
xor eax, eax
jmp 0x417de2
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edx
mov dword [esp + 0x1c], 1
jne 0x417df2
mov dword [esp + 0x1c], edx
mov eax, dword [ebp + 0x338]
xor ecx, ecx
cmp dword [eax - 8], edx
setne cl
mov eax, ecx
mov ecx, dword [esp + 0x14]
cmp ecx, edx
mov dword [esp + 0x24], eax
jne 0x417e28
cmp dword [esp + 0x18], edx
jne 0x417e28
cmp dword [esp + 0x20], edx
jne 0x417e28
cmp dword [esp + 0x1c], edx
jne 0x417e28
cmp eax, edx
je 0x418197
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], 0x431df0
mov al, byte [ebp + 0x2fc]
push str.Comic_Sans_MS
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x14]
push edx
push edx
push edx
and ecx, 0xff
push edx
push ecx
push edx
push edx
push edx
push 0x1f4
push edx
push edx
push edx
push 0x18
mov dword [esp + 0xb8], edx
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x88]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x30]
mov edx, dword [esi + 8]
lea ecx, [esp + 0x40]
push ecx
push edx
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esp + 0x40]
push 1
mov ecx, esi
mov dword [esp + 0x8c], eax
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
push 0xffffff
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [ebp + 0x1c0]
mov ecx, dword [ebp + 0x1c8]
mov ebx, dword [ebp + 0x1c4]
add eax, ecx
cdq
sub eax, edx
push 0x438dcc
mov edi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
sar edi, 1
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x24]
mov byte [esp + 0x80], 1
test eax, eax
je 0x417f44
lea eax, [ebp + 0x338]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x24]
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
sub edi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
push ebx
push edi
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esp + 0x28]
add ebx, eax
mov eax, dword [ebp + 0x1c0]
mov ecx, dword [ebp + 0x1c8]
add eax, ecx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x14]
sar edi, 1
test eax, eax
je 0x417fde
push 0x438dcc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [ebp + 0x214]
add ecx, 4
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x2c]
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
sub edi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
push ebx
push edi
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esp + 0x88]
mov ecx, dword [ebp + 0x1c8]
add ebx, eax
mov eax, dword [ebp + 0x1c0]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x418065
push 0x438dcc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [ebp + 0x214]
add ecx, 8
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x2c]
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
neg eax
add edi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
push ebx
push edi
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [ebp + 0x1c0]
mov ecx, dword [ebp + 0x1c8]
mov edx, dword [esp + 0x88]
add eax, ecx
add ebx, edx
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4180ec
push 0x438dcc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
mov eax, dword [ebp + 0x214]
lea ecx, [esp + 0x10]
add eax, 0x10
push eax
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x2c]
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
neg eax
add edi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
push ebx
push edi
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [ebp + 0x1c0]
mov ecx, dword [ebp + 0x1c8]
mov edx, dword [esp + 0x88]
add eax, ecx
add ebx, edx
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x418155
push 0x438dcc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
mov eax, dword [ebp + 0x214]
lea ecx, [esp + 0x10]
add eax, 0xc
push eax
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x2c]
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
neg eax
add edi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
push ebx
push edi
mov ecx, esi
call dword [edx + 0x64]
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 0
call fcn.0042d5b2
mov dword [esp + 0x38], 0x431dc8
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 4