Function at 0x499120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ab0ff
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 0x49916d
mov esi, dword [esp + 0x28]
push 0x62fcec
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x499192
mov eax, dword [esp + 0x30]
mov eax, dword [eax - 8]
cmp eax, 2
jge 0x4991d1
mov esi, dword [esp + 0x28]
push 0x62fcec
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 0x4992d7
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 0x4992bc
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x499299
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
push edx
push eax
call edi
add esp, 8
test eax, eax
jne 0x49924e
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0xc]
push ecx
push eax
call edi
add esp, 8
test eax, eax
je 0x4992ca
mov eax, dword [esi + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x499262
mov edx, dword [esi + 0xc]
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x4992ca
mov ecx, dword [esp + 0x38]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x49927b
mov edx, dword [esi + 0xc]
mov eax, dword [edx - 8]
test eax, eax
je 0x4992ca
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0xc]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x4992bc
mov edx, dword [esi + 8]
mov eax, dword [edx - 8]
test eax, eax
je 0x4992ca
jmp 0x4992bc
mov eax, dword [esi + 4]
push 0x60b0e0
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4992bc
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 0x499206
jmp 0x4992d7
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