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

Disassembly:
push 0xffffffffffffffff
push 0x4083f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x74]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x38], ecx
mov byte [esp + 0x13], bl
jne 0x404ab5
xor al, al
jmp 0x404d4e
mov dword [esp + 0x34], ebx
mov eax, dword [edi]
lea ecx, [esp + 0x34]
push ecx
push edi
mov dword [esp + 0x74], ebx
call dword [eax + 0x44]
mov dword [esp + 0x28], ebx
mov edx, dword [edi]
lea eax, [esp + 0x28]
push eax
push edi
mov byte [esp + 0x74], 1
call dword [edx + 0x20]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp eax, ebx
jne 0x404d2b
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jne 0x404d2b
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, ebx
jle 0x404d2b
mov edi, dword [esp + 0x60]
mov eax, 3
mov word [esp + 0x44], ax
mov word [esp + 0x54], ax
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x44]
lea edx, [esp + 0x24]
push edx
mov eax, dword [esp + 0x2c]
sub esp, 0x10
mov byte [esp + 0x80], 2
mov edx, esp
sub esp, 0x10
mov ecx, dword [eax]
mov dword [edx], ebp
mov ebp, dword [esp + 0x6c]
mov dword [edx + 4], ebp
mov ebp, dword [esp + 0x74]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ebp
mov ebp, dword [esp + 0x78]
mov edx, esp
push eax
mov dword [edx], ebp
mov ebp, dword [esp + 0x80]
mov dword [edx + 4], ebp
mov dword [edx + 8], esi
mov dword [edx + 0xc], edi
call dword [ecx + 0x2c]
cmp eax, ebx
jne 0x404c9d
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push 0x409b10
mov ecx, dword [eax]
push eax
mov byte [esp + 0x78], 3
call dword [ecx]
cmp eax, ebx
jne 0x404c8a
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
mov byte [esp + 0x74], 4
call dword [ecx + 0x38]
cmp eax, ebx
jne 0x404c7f
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 6
call sub.MFC42.DLL_CString::MakeUpper
mov ecx, dword [esp + 0x1c]
push str.TABLE
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x404c6a
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
mov byte [esp + 0x74], 7
call dword [edx + 0xf8]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
push eax
push ecx
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x7c], 8
call fcn.00407812
mov ecx, dword [esp + 0x44]
call fcn.00404d70
cmp al, bl
jne 0x404cc9
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x6c], 2
cmp eax, ebx
je 0x404c9d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x6c], 1
cmp eax, ebx
je 0x404cb0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, eax
jl 0x404b26
mov edi, dword [esp + 0x74]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x404d2b
lea ecx, [esp + 0x30]
mov byte [esp + 0x13], 1
mov byte [esp + 0x6c], 7
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x18]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call ebp
push ebx
call ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
push eax
call ebp
mov eax, dword [esp + 0x14]
mov byte [esp + 0x6c], 2
cmp eax, ebx
je 0x404d14
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x6c], 1
cmp eax, ebx
je 0x404d27
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov edi, dword [esp + 0x74]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x6c], bl
cmp eax, ebx
je 0x404d43
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x34]
push edx
call ebp
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0xc