Function at 0x40a530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x415700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x18]
mov bl, 4
push 1
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.00413f18
push 1
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.00413f18
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.00413f18
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov edi, eax
mov ecx, esi
push edi
call fcn.00408000
test eax, eax
jne 0x40a667
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.00413f18
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.00413f18
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.00413f18
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call fcn.00413f18
mov dword [esp + 0x24], 0xffffffff
jmp 0x40a89a
push edi
mov ecx, esi
call fcn.00408000
cmp eax, 1
jne 0x40a753
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push ecx
push edx
call esi
add esp, 8
test eax, eax
jne 0x40a6c5
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x30]
push eax
call sub.MFC42.DLL_CString::Find
or esi, 0xffffffff
cmp eax, esi
je 0x40a85e
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find
cmp eax, esi
je 0x40a85e
jmp 0x40a800
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push edx
push eax
call esi
add esp, 8
test eax, eax
jne 0x40a70c
mov ecx, dword [esp + 0xc]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find
or esi, 0xffffffff
cmp eax, esi
je 0x40a85e
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CString::Find
cmp eax, esi
je 0x40a85e
jmp 0x40a800
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call esi
add esp, 8
test eax, eax
jne 0x40a753
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CString::Find
or esi, 0xffffffff
cmp eax, esi
je 0x40a85e
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x30]
push eax
call sub.MFC42.DLL_CString::Find
cmp eax, esi
je 0x40a85e
jmp 0x40a800
mov ecx, dword [esp + 0xc]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find
or esi, 0xffffffff
cmp eax, esi
je 0x40a790
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CString::Find
cmp eax, esi
jne 0x40a800
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
call sub.MFC42.DLL_CString::Find
cmp eax, esi
jne 0x40a800
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find
cmp eax, esi
je 0x40a7c6
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CString::Find
cmp eax, esi
jne 0x40a800
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
call sub.MFC42.DLL_CString::Find
cmp eax, esi
jne 0x40a800
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find
cmp eax, esi
je 0x40a85e
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CString::Find
cmp eax, esi
jne 0x40a800
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
call sub.MFC42.DLL_CString::Find
cmp eax, esi
je 0x40a85e
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.00413f18
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.00413f18
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.00413f18
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call fcn.00413f18
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], esi
call fcn.00413f18
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.00413f18
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.00413f18
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.00413f18
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call fcn.00413f18
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x30]
call fcn.00413f18
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8