Function at 0x499c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5af4af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
xor ebp, ebp
push esi
mov ebx, ecx
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x20], 3
cmp eax, ebp
jne 0x499c5d
mov esi, dword [esp + 0x28]
push 0x63547c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x499c82
mov eax, dword [esp + 0x30]
mov eax, dword [eax - 8]
cmp eax, 2
jge 0x499cc1
mov esi, dword [esp + 0x28]
push 0x63547c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov ebx, 1
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
push edi
lea ecx, [esp + 0x18]
push 2
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Left
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebx + 0x6c]
mov byte [esp + 0x24], 5
cmp eax, ebp
jle 0x499dc7
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov edx, dword [ebx + 0x68]
mov eax, dword [esp + 0x30]
mov esi, dword [edx + ebp*4]
cmp dword [esi], eax
jne 0x499dac
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x499d89
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
push edx
push eax
call edi
add esp, 8
test eax, eax
jne 0x499d3e
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0xc]
push ecx
push eax
call edi
add esp, 8
test eax, eax
je 0x499dba
mov eax, dword [esi + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x499d52
mov edx, dword [esi + 0xc]
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x499dba
mov ecx, dword [esp + 0x38]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x499d6b
mov edx, dword [esi + 0xc]
mov eax, dword [edx - 8]
test eax, eax
je 0x499dba
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0xc]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x499dac
mov edx, dword [esi + 8]
mov eax, dword [edx - 8]
test eax, eax
je 0x499dba
jmp 0x499dac
mov eax, dword [esi + 4]
push 0x6101b8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x499dac
add esi, 0x14
lea ecx, [esp + 0x10]
push esi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebx + 0x6c]
inc ebp
cmp ebp, eax
jl 0x499cf6
jmp 0x499dc7
add esi, 0x14
lea ecx, [esp + 0x10]
push esi
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov ebx, 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14