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

Disassembly:
push 0xffffffffffffffff
push 0x425f1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
xor ebx, ebx
mov ebp, 0x4286a4
push esi
push edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebp
mov edi, 0x4286a0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 1
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 2
call fcn.004053d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 3
call sub.MFC42u.DLL_CString::CString_1
mov esi, dword [esp + 0x80]
push ebx
mov byte [esp + 0x7c], 4
mov dword [esp + 0x18], ebx
lea ecx, [esi + 4]
call fcn.00405f90
test al, al
je 0x404fb6
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 1
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 0x4c], edi
mov byte [esp + 0x78], 6
jmp 0x404fed
mov eax, dword [esp + 0x84]
mov edi, dword [eax]
cmp dword [edi - 8], ebx
jne 0x405027
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 1
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 0x4c], 0x4286a0
mov byte [esp + 0x78], 8
push ebx
lea ecx, [esp + 0x58]
call fcn.004055f0
push ebx
lea ecx, [esp + 0x54]
call fcn.004055f0
lea ecx, [esp + 0x54]
call fcn.00405fc0
lea ecx, [esp + 0x50]
call fcn.00405fc0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ebp
call fcn.00405fc0
xor eax, eax
jmp 0x4053b1
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x84], eax
cmp eax, ebx
mov byte [esp + 0x78], 9
je 0x40504b
push edi
mov ecx, eax
call fcn.00401ed0
jmp 0x40504d
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x78], 4
mov dword [esp + 0x80], eax
jne 0x405067
push 0x8007000e
call fcn.004253d0
lea ecx, [esp + 0x80]
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x80], 0xa
call fcn.00403660
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 8]
push edx
lea ecx, [esp + 0x38]
call fcn.00405f60
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], ebp
call fcn.00405fc0
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 4
call fcn.00401660
mov eax, dword [esp + 0x30]
xor edi, edi
cmp eax, ebx
mov ebp, eax
jle 0x405372
push 0x4306d8
lea ecx, [esp + 0x60]
call sub.MFC42u.DLL_CString::operator
lea eax, [esp + 0x38]
push edi
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.004032e0
mov esi, eax
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x54]
call fcn.00405f60
mov edx, dword [esi + 8]
lea ecx, [esp + 0x54]
push edx
call fcn.00405f60
mov eax, dword [esi + 0xc]
mov dword [esp + 0x38], 0x4286a0
mov dword [esp + 0x58], eax
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x7c], 0xc
call fcn.004055f0
push ebx
lea ecx, [esp + 0x40]
call fcn.004055f0
lea ecx, [esp + 0x40]
call fcn.00405fc0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 4
call fcn.00405fc0
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x84], eax
cmp eax, ebx
mov byte [esp + 0x78], 0xd
je 0x405175
push str.Used
mov ecx, eax
call fcn.00401ed0
jmp 0x405177
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x78], 4
mov dword [esp + 0x80], eax
jne 0x405191
push 0x8007000e
call fcn.004253d0
lea ecx, [esp + 0x84]
push ebx
lea edx, [esp + 0x84]
push ecx
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 0xe
mov dword [esp + 0x90], ebx
call fcn.00402eb0
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 4
call fcn.00401660
cmp dword [esp + 0x84], ebx
je 0x405369
push str.Name
lea ecx, [esp + 0x1c]
call fcn.00401020
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 0xf
call fcn.00403170
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x78], 4
call fcn.00401660
cmp esi, ebx
je 0x405369
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], ebx
je 0x405369
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::TrimRight_1
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::MakeUpper
lea eax, [esp + 0x10]
lea ecx, [esp + 0x5c]
push eax
call sub.MFC42u.DLL_CString::operator_1
push 0x42e420
lea ecx, [esp + 0x20]
call fcn.00401020
lea ecx, [esp + 0x14]
push ebx
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 0x10
call fcn.00404400
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x78], 4
call fcn.00401660
cmp esi, ebx
je 0x405369
mov eax, dword [esp + 0x14]
push 0x42e41c
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], eax
call fcn.00401020
lea ecx, [esp + 0x14]
push ebx
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 0x11
call fcn.00404400
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x78], 4
call fcn.00401660
cmp esi, ebx
je 0x405369
mov eax, dword [esp + 0x14]
push 0x42e418
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], eax
call fcn.00401020
lea ecx, [esp + 0x14]
push ebx
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 0x12
call fcn.00404400
lea ecx, [esp + 0x24]
mov esi, eax
mov byte [esp + 0x78], 4
call fcn.00401660
cmp esi, ebx
je 0x405369
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x68]
xor ecx, ecx
and edx, 0xff
mov ch, al
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x64]
or ecx, edx
shl ecx, 8
and eax, 0xff
lea edx, [esp + 0x5c]
or ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x5c]
push ecx
push edx
lea ecx, [eax + 0x50]
call fcn.00405c20
mov ecx, eax
call fcn.004053f0
inc edi
cmp edi, ebp
jl 0x4050c5
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], bl
call fcn.00401360
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], 0xffffffff
call fcn.00401420
mov eax, 1
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 8