Function at 0x440c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5788c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x30]
mov eax, dword [eax - 8]
cmp eax, 8
jl 0x440f23
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0xc]
lea edx, [esp + 0x30]
push ecx
push 1
push ebx
push 0x5e34fc
push edx
mov byte [esp + 0x3c], 1
call fcn.004405a0
mov eax, dword [esp + 0x20]
add esp, 0x14
mov eax, dword [eax - 8]
cmp eax, 8
jl 0x440f16
cmp eax, 0xa
jg 0x440f16
push 0x5e057c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find
or edi, 0xffffffff
cmp eax, edi
je 0x440e0e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
push 1
push ebx
push 0x5e057c
push edx
mov byte [esp + 0x3c], 4
call fcn.004405a0
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
push 2
push 1
push 0x5e057c
push ecx
call fcn.004405a0
lea edx, [esp + 0x38]
lea eax, [esp + 0x34]
push edx
push 3
push 2
push 0x5e057c
push eax
call fcn.004405a0
add esp, 0x3c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5f3788
push ecx
call esi
add esp, 8
test eax, eax
je 0x440de4
mov edx, dword [esp + 0x14]
push 0x5f3788
push edx
call esi
add esp, 8
test eax, eax
je 0x440de4
mov eax, dword [esp + 0x10]
push 0x5f3788
push eax
call esi
add esp, 8
test eax, eax
je 0x440de4
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 8], 4
jne 0x440de4
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], 2
jg 0x440de4
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 2
jle 0x440e24
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x28], edi
jmp 0x440f2b
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_4
call fcn.00440f50
add esp, 4
cmp eax, ebx
je 0x440de4
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_4
call fcn.00440f50
add esp, 4
cmp eax, ebx
je 0x440de4
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_4
call fcn.00440f50
add esp, 4
cmp eax, ebx
je 0x440de4
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
push eax
call esi
add esp, 4
cmp eax, ebx
jle 0x440de4
cmp eax, 0xc
jg 0x440de4
mov ecx, dword [esp + 0x10]
push ecx
call esi
add esp, 4
cmp eax, ebx
jle 0x440de4
cmp eax, 0x1f
jg 0x440de4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret