Function at 0x404960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41e498
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 0x4295b4
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], bl
mov dword [esp + 0x24], edi
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x404cfe
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx - 8]
dec ecx
cmp eax, ecx
jge 0x404cfe
inc eax
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::operator
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
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimRight
push 0
push 0x42950c
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jl 0x404cf2
mov eax, dword [esp + 0x3c]
mov eax, dword [eax - 8]
dec eax
cmp esi, eax
jge 0x404cf2
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
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
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 7
call sub.MFC42.DLL_CString::operator
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
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimRight
push 0
push 0x42950c
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jl 0x404ce6
mov eax, dword [esp + 0x3c]
mov eax, dword [eax - 8]
dec eax
cmp esi, eax
jge 0x404ce6
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
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push edx
call fcn.004140b0
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
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 9
call sub.MFC42.DLL_CString::operator
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
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimRight
push 0
push 0x42950c
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jl 0x404cfe
mov edx, dword [esp + 0x3c]
mov eax, dword [edx - 8]
dec eax
cmp esi, eax
jge 0x404cfe
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
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
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 0xb
call sub.MFC42.DLL_CString::operator
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
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimRight
push 0
push 0x42950c
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jl 0x404cf2
mov edx, dword [esp + 0x3c]
mov eax, dword [edx - 8]
dec eax
cmp esi, eax
jge 0x404cf2
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
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
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 0xd
call sub.MFC42.DLL_CString::operator
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.00413ea0
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 0x404d08
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov dword [esi], edx
jmp 0x404d08
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov dword [esi], eax
jmp 0x404d08
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