Function at 0x498f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5aad1f
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 0x498f6d
mov esi, dword [esp + 0x28]
push 0x62fc5c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x498f92
mov eax, dword [esp + 0x30]
mov eax, dword [eax - 8]
cmp eax, 2
jge 0x498fd1
mov esi, dword [esp + 0x28]
push 0x62fc5c
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 0x4990d7
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 0x4990bc
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x499099
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
push edx
push eax
call edi
add esp, 8
test eax, eax
jne 0x49904e
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0xc]
push ecx
push eax
call edi
add esp, 8
test eax, eax
je 0x4990ca
mov eax, dword [esi + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x499062
mov edx, dword [esi + 0xc]
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x4990ca
mov ecx, dword [esp + 0x38]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x49907b
mov edx, dword [esi + 0xc]
mov eax, dword [edx - 8]
test eax, eax
je 0x4990ca
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0xc]
push ecx
push eax
call edi
add esp, 8
test eax, eax
jne 0x4990bc
mov edx, dword [esi + 8]
mov eax, dword [edx - 8]
test eax, eax
je 0x4990ca
jmp 0x4990bc
mov eax, dword [esi + 4]
push 0x60b0d0
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4990bc
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 0x499006
jmp 0x4990d7
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