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

Disassembly:
jmp 0x408980
push 0xffffffffffffffff
push 0x453650
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
mov esi, ecx
mov dword [esp + 0x24], esi
call fcn.004011a4
test eax, eax
jne 0x4089ba
pop esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
mov al, byte [esp + 0x6c]
push ebx
xor ebx, ebx
push ebp
push edi
mov byte [esp + 0x44], al
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], ebx
call fcn.00435760
mov ebp, dword [esp + 0x78]
mov byte [esp + 0x70], 1
mov dword [esp + 0x28], 1
mov dword [esp + 0x20], ebx
lea ecx, [ebp + ebp*4]
shl ecx, 3
sub ecx, ebp
mov eax, dword [esi + ecx*8 + 0x11c78]
lea esi, [esi + ecx*8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CString::CString_3
push 0x46b324
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 3
call sub.MFC42.DLL_CString::CString_4
mov edi, dword [esi + 0x11d60]
mov edx, dword [esi + 0x11d64]
mov ecx, 0x20
mov eax, edi
mov byte [esp + 0x70], 4
mov dword [esp + 0x34], edi
call fcn.00447a00
test edi, 0xffff0000
mov byte [esp + 0x13], al
push edi
jne 0x408a72
lea edx, [esp + 0x18]
push str._04X
push edx
jmp 0x408a7c
lea eax, [esp + 0x18]
push str._08X
push eax
call sub.MFC42.DLL_CString::Format
mov edi, dword [esi + 0x11d64]
mov eax, dword [esi + 0x11d60]
add esp, 0xc
mov ecx, 0x18
mov edx, edi
call fcn.00447a00
cmp al, 0xf0
jne 0x408ad2
mov dword [esp + 0x78], edi
mov cl, byte [esp + 0x78]
and ecx, 0xff
lea edx, [esp + 0x18]
push ecx
push str._02X
push edx
sar edi, 0x1f
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
call fcn.00447488
mov al, byte [esi + 0x11d9d]
cmp al, 0xff
je 0x408b08
cmp al, bl
je 0x408b08
and eax, 0xff
lea ecx, [esp + 0x18]
push eax
push str.__dP
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x18]
lea ecx, [esp + 0x14]
push edx
call fcn.00447488
jmp 0x408b49
cmp dword [esi + 0x11d98], ebx
je 0x408b49
mov al, byte [esi + 0x11d9c]
cmp al, 4
jne 0x408b21
push 0x465cc4
jmp 0x408b40
cmp al, 3
jne 0x408b2c
push 0x465cc0
jmp 0x408b40
cmp al, 2
jne 0x408b37
push 0x465cbc
jmp 0x408b40
cmp al, 1
jne 0x408b49
push 0x465cb8
lea ecx, [esp + 0x18]
call fcn.00447482
mov al, byte [esi + 0x11d9e]
cmp al, bl
je 0x408b7b
cmp al, 1
jne 0x408b5e
push 0x465cb4
jmp 0x408b72
cmp al, 2
jne 0x408b69
push 0x465cb0
jmp 0x408b72
cmp al, 3
jne 0x408b7b
push 0x465cac
lea ecx, [esp + 0x18]
call fcn.00447482
cmp dword [esi + 0x11d54], ebx
je 0x408b91
push str._Tog
lea ecx, [esp + 0x18]
call fcn.00447482
cmp byte [esi + 0x11cd2], bl
je 0x408c68
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::CString_3
mov al, byte [esi + 0x11d9f]
mov byte [esp + 0x70], 5
cmp al, 0xff
mov byte [esp + 0x24], al
je 0x408c4c
cmp al, 0x24
jne 0x408bdb
mov eax, dword [0x46babc]
push eax
lea ecx, [esp + 0x7c]
push 0x465ca0
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x408c4c
cmp al, 0x14
jne 0x408bfa
mov edx, dword [0x46bac0]
lea eax, [esp + 0x78]
push edx
push 0x465ca0
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x408c4c
cmp al, 0x22
jne 0x408c19
mov ecx, dword [0x46bac4]
lea edx, [esp + 0x78]
push ecx
push 0x465ca0
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x408c4c
cmp al, 0x12
jne 0x408c24
mov eax, dword [0x46bac8]
jmp 0x408bc6
mov eax, dword [esp + 0x24]
and eax, 0xff
mov edx, eax
and edx, 0xf
shr eax, 4
push edx
push eax
lea eax, [esp + 0x80]
push str.__dW_dP
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x18]
call fcn.00447488
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [0x466cb8]
xor cl, cl
cmp edx, ebx
jbe 0x408caf
xor eax, eax
mov edi, SysReAllocString
lea ebx, [eax + eax*8]
lea eax, [eax + ebx*4]
shl eax, 3
cmp word [eax + 0x46bf6c], 1
jne 0x408c9a
test dword [eax + 0x46bf5c], edi
je 0x408c9a
inc dword [esp + 0x20]
inc cl
mov byte [esp + 0x78], cl
mov eax, dword [esp + 0x78]
and eax, 0xff
cmp eax, edx
jb 0x408c7b
xor ebx, ebx
mov al, byte [esi + 0x11cd2]
cmp al, bl
je 0x408ce1
xor edx, edx
and eax, 0xff
mov dl, byte [esi + 0x11cd1]
push 0x465c90
push eax
push edx
lea eax, [esp + 0x28]
push str.Bin_d__d_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
jmp 0x408d11
mov al, byte [esi + 0x11cd3]
cmp al, 1
mov eax, 0x465c7c
je 0x408cf5
mov eax, 0x465c90
xor ecx, ecx
push eax
mov cl, byte [esi + 0x11cd1]
lea edx, [esp + 0x20]
push ecx
push str.Bin_d_s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x28]
push 4
push eax
push 0xff
lea ecx, [esp + 0x60]
call fcn.00435860
lea ecx, [esi + 0x11c7c]
push 4
push ecx
push ebx
lea ecx, [esp + 0x60]
call fcn.00435860
lea edx, [esi + 0x11cd4]
lea ecx, [esp + 0x54]
push edx
push 2
call fcn.00435810
lea eax, [esi + 0x11c88]
push 4
push eax
push 3
lea ecx, [esp + 0x60]
call fcn.00435860
lea ecx, [esi + 0x11c8c]
push 4
push ecx
push 0x1b
lea ecx, [esp + 0x60]
call fcn.00435860
lea edx, [esp + 0x2c]
push 4
push edx
push 4
lea ecx, [esp + 0x60]
call fcn.00435860
mov edi, dword [esp + 0x30]
mov eax, ebp
shl eax, 5
sub eax, ebp
push 6
lea ecx, [edi + eax*4 + 0xfd84]
push ecx
push 6
lea ecx, [esp + 0x60]
call fcn.00435860
lea edx, [esi + 0x11d14]
lea ecx, [esp + 0x54]
push edx
push 1
call fcn.00435810
lea eax, [esi + 0x11cd3]
push 1
push eax
push 7
lea ecx, [esp + 0x60]
call fcn.00435860
add esi, 0x11cd0
push 1
push esi
push 8
lea ecx, [esp + 0x60]
call fcn.00435860
lea ecx, [esp + 0x34]
push 4
push ecx
push 9
lea ecx, [esp + 0x60]
call fcn.00435860
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
push edx
push 0x11
call fcn.00435810
lea eax, [esp + 0x20]
push 4
push eax
push 0x18
lea ecx, [esp + 0x60]
call fcn.00435860
push 1
lea ecx, [esp + 0x17]
push ecx
push 0x19
lea ecx, [esp + 0x60]
call fcn.00435860
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x54]
push edx
push 0x1a
call fcn.00435810
lea eax, [esp + 0x44]
lea ecx, [esp + 0x54]
push eax
call fcn.00435ae0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], ebp
cmp eax, ebx
jne 0x408e55
mov dword [esp + 0x3c], ebx
jmp 0x408e5f
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x46b478]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x38]
push edx
push eax
push 0x4a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], bl
call fcn.00435780
mov edx, dword [esp + 0x48]
push edx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x6c]
add esp, 4
mov eax, 1
mov dword fs:[0], ecx
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x64
ret 4