Function at 0x416540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43cbc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], ebp
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], ebp
call sub.MFC42.DLL_CString::CString_2
mov ebx, 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x64]
mov byte [esp + 0x48], 2
cmp eax, ebp
je 0x4168a5
mov eax, dword [esi + 0x50e0]
mov dword [esp + 0x2c], ebp
cmp eax, ebp
mov dword [esp + 0x3c], eax
jle 0x416841
push edi
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
jmp 0x4165db
mov esi, dword [esp + 0x3c]
mov eax, dword [esi + 0x50dc]
mov ecx, dword [esp + 0x30]
mov esi, dword [eax + ecx*4]
lea ecx, [esp + 0x18]
lea edx, [esi + 4]
push edx
call sub.MFC42.DLL_CString::operator_2
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esi + 8]
add esi, 8
push 0x44a754
push eax
call edi
add esp, 8
test eax, eax
jne 0x416663
push 0x448ff8
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x416639
cmp dword [esp + 0x54], ebx
jne 0x41681f
mov dword [esp + 0x28], ebx
jmp 0x41681f
push 0x448ff0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x41681f
cmp dword [esp + 0x54], 2
jne 0x41681f
mov dword [esp + 0x28], ebx
jmp 0x41681f
push esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x18]
push 0x448eec
push eax
call edi
add esp, 8
test eax, eax
jne 0x416762
push 0x448ff8
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x4166a2
cmp dword [esp + 0x54], ebx
jne 0x4166bf
jmp 0x4166bb
push 0x448ff0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x4166bf
cmp dword [esp + 0x54], 2
jne 0x4166bf
mov dword [esp + 0x28], ebx
push 0x448fec
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x4166df
mov eax, dword [esp + 0x60]
mov ebp, ebx
test eax, eax
jne 0x4166df
mov dword [esp + 0x1c], ebx
push 0x448fe8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x4166ff
mov eax, dword [esp + 0x60]
mov ebp, ebx
cmp eax, ebx
jne 0x4166ff
mov dword [esp + 0x1c], ebx
push 0x448fe0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x416720
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], ebx
cmp eax, 2
jne 0x416762
jmp 0x41675e
push 0x448fd8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x416740
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jne 0x416762
jmp 0x41675e
push 0x448fd0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x416762
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], ebx
test eax, eax
jne 0x416762
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x18]
push 0x448fc8
push ecx
call edi
add esp, 8
test eax, eax
je 0x41678c
mov edx, dword [esp + 0x18]
push 0x448fc0
push edx
call edi
add esp, 8
test eax, eax
jne 0x41681f
push 0x448fb8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x4167ac
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], ebx
cmp eax, ebx
jne 0x4167ce
jmp 0x4167ca
push 0x448fb0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x4167ce
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], ebx
test eax, eax
jne 0x4167ce
mov dword [esp + 0x24], ebx
mov eax, dword [esi]
push 0x44a754
push eax
call edi
add esp, 8
test eax, eax
jne 0x41681f
push 0x448fec
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x4167ff
mov eax, dword [esp + 0x60]
mov ebp, ebx
test eax, eax
jne 0x4167ff
mov dword [esp + 0x1c], ebx
push 0x448fe8
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x41681f
mov eax, dword [esp + 0x60]
mov ebp, ebx
cmp eax, ebx
jne 0x41681f
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x4165d7
mov eax, dword [esp + 0x1c]
pop edi
test eax, eax
jne 0x41684d
test ebp, ebp
jne 0x41684d
cmp dword [esp + 0x5c], ebx
jne 0x41684f
mov dword [esp + 0x18], ebx
jmp 0x41684f
xor ebp, ebp
cmp dword [esp + 0x20], ebp
jne 0x416865
cmp dword [esp + 0x30], ebp
jne 0x416865
cmp dword [esp + 0x54], ebp
jne 0x416865
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x1c], ebp
jne 0x41687b
cmp dword [esp + 0x28], ebp
jne 0x41687b
cmp dword [esp + 0x58], ebp
jne 0x41687b
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x18], ebp
je 0x4168e7
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x4168e7
cmp dword [esp + 0x1c], ebp
je 0x416895
cmp dword [esp + 0x24], ebp
jne 0x4168a5
cmp eax, ebp
je 0x4168e7
cmp dword [esp + 0x1c], ebp
je 0x4168e7
cmp dword [esp + 0x34], ebp
jne 0x4168e7
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov eax, ebx
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0x18
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0x18