Function at 0x4046e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x421188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString_4
mov bl, 4
or edi, 0xffffffff
push 0
push 0x42c308
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], bl
mov dword [esp + 0x24], edi
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x404a7e
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx - 8]
dec ecx
cmp eax, ecx
jge 0x404a7e
inc eax
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimLeft_2
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimRight_1
push 0
push 0x42c260
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
test esi, esi
jl 0x404a72
mov eax, dword [esp + 0x3c]
mov eax, dword [eax - 8]
dec eax
cmp esi, eax
jge 0x404a72
lea ecx, [esp + 0x24]
push esi
push ecx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
inc esi
lea edx, [esp + 0x24]
push esi
push edx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimLeft_2
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimRight_1
push 0
push 0x42c260
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
test esi, esi
jl 0x404a66
mov eax, dword [esp + 0x3c]
mov eax, dword [eax - 8]
dec eax
cmp esi, eax
jge 0x404a66
lea ecx, [esp + 0x24]
push esi
push ecx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push edx
call fcn.004139d0
push eax
lea eax, [esp + 0x14]
push str._02d
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
inc esi
lea ecx, [esp + 0x24]
push esi
push ecx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimLeft_2
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimRight_1
push 0
push 0x42c260
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
test esi, esi
jl 0x404a7e
mov edx, dword [esp + 0x3c]
mov eax, dword [edx - 8]
dec eax
cmp esi, eax
jge 0x404a7e
lea eax, [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
inc esi
lea ecx, [esp + 0x24]
push esi
push ecx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimLeft_2
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimRight_1
push 0
push 0x42c260
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
test esi, esi
jl 0x404a72
mov edx, dword [esp + 0x3c]
mov eax, dword [edx - 8]
dec eax
cmp esi, eax
jge 0x404a72
lea eax, [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
inc esi
lea ecx, [esp + 0x24]
push esi
push ecx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 0xd
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push str._s__s__s__s
push eax
mov byte [esp + 0x48], 0xe
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [esp + 0x1c]
push ecx
push 0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.004137c0
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
add esp, 8
lea ecx, [esp + 0x20]
mov dword [esi], edx
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
jmp 0x404a88
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov dword [esi], edx
jmp 0x404a88
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov dword [esi], eax
jmp 0x404a88
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov dword [esi], ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], edi
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8