Function at 0x441270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x578938
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, 5
jl 0x4415ae
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0xc]
lea edx, [esp + 0x30]
push ecx
push 2
push 1
push 0x5e34fc
push edx
mov byte [esp + 0x3c], 1
call fcn.004405a0
add esp, 0x14
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5f3788
push eax
call esi
add esp, 8
test eax, eax
jne 0x441321
lea ecx, [esp + 0xc]
lea edx, [esp + 0x30]
push ecx
push 1
push ebx
push 0x5e34fc
push edx
call fcn.004405a0
add esp, 0x14
mov eax, dword [esp + 0xc]
mov eax, dword [eax - 8]
cmp eax, 5
jl 0x4415a1
cmp eax, 8
jg 0x4415a1
push 0x5e3648
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find
or edi, 0xffffffff
cmp eax, edi
je 0x44147e
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 0x5e3648
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 0x5e3648
push ecx
call fcn.004405a0
lea edx, [esp + 0x38]
lea eax, [esp + 0x34]
push edx
push 3
push 2
push 0x5e3648
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]
push 0x5f3788
push ecx
call esi
add esp, 8
test eax, eax
je 0x441454
mov edx, dword [esp + 0x14]
push 0x5f3788
push edx
call esi
add esp, 8
test eax, eax
je 0x441454
mov eax, dword [esp + 0x10]
push 0x5f3788
push eax
call esi
add esp, 8
test eax, eax
je 0x441454
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 8], 2
jg 0x441454
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], 2
jg 0x441454
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 2
jle 0x441494
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 0x4415b6
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 0x441454
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 0x441454
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 0x441454
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
push eax
call esi
add esp, 4
cmp eax, ebx
jl 0x441454
cmp eax, 0x17
jg 0x441454
mov ecx, dword [esp + 0x14]
push ecx
call esi
add esp, 4
cmp eax, ebx
jl 0x441454
cmp eax, 0x3c
jge 0x441454
mov edx, dword [esp + 0x10]
push edx
call esi
add esp, 4
cmp eax, ebx
jl 0x441454
cmp eax, 0x3c
jge 0x441454
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