Function at 0x499d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5af2df
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 0x499d7d
mov esi, dword [esp + 0x28]
push 0x63546c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x499da2
mov eax, dword [esp + 0x30]
mov eax, dword [eax - 8]
cmp eax, 2
jge 0x499de1
mov esi, dword [esp + 0x28]
push 0x63546c
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 0x499ee7
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 0x499ecc
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x499ea9
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
push edx
push eax
call edi
add esp, 8
test eax, eax
jne 0x499e5e
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0xc]
push ecx
push eax
call edi
add esp, 8
test eax, eax
je 0x499eda
mov eax, dword [esi + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x499e72
mov edx, dword [esi + 0xc]
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x499eda
mov ecx, dword [esp + 0x38]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x499e8b
mov edx, dword [esi + 0xc]
mov eax, dword [edx - 8]
test eax, eax
je 0x499eda
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0xc]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x499ecc
mov edx, dword [esi + 8]
mov eax, dword [edx - 8]
test eax, eax
je 0x499eda
jmp 0x499ecc
mov eax, dword [esi + 4]
push 0x6101ac
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x499ecc
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 0x499e16
jmp 0x499ee7
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