Function at 0x46f926
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57e01f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
xor ebp, ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x34]
mov byte [esp + 0x28], 2
cmp eax, 0x4e
jae 0x46f824
shl eax, 6
add eax, 0x5a30cc
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x34]
mov edi, 0x4d
cmp eax, edi
mov byte [esp + 0x28], 4
je 0x46f866
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
push 0x610394
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x46f874
push 0x621dc4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x34]
push edx
call fcn.00472650
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, edi
je 0x46f894
push 0x20
lea ecx, [esp + 0x10]
call fcn.0043bae6
cmp dword [esp + 0x54], ebp
je 0x46f8c8
lea eax, [esp + 0x50]
push 0x60fc60
lea ecx, [esp + 0x58]
push eax
push ecx
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 5
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x28], 4
lea ecx, [esp + 0x54]
jmp 0x46f8f4
lea edx, [esp + 0x50]
push 0x611e1c
lea eax, [esp + 0x58]
push edx
push eax
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 6
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x28], 4
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
lea eax, [ecx - 0x34]
cmp eax, 0x11
ja case.0x46f90d.55
xor edx, edx
mov dl, byte [eax + 0x46fa28]
jmp dword [edx*4 + 0x46fa18]
mov eax, dword [esi + 0x78]
cmp eax, ebp
jbe case.0x46f90d.52
dec eax
mov dword [esi + 0x78], eax
mov ebp, 1
jmp case.0x46f90d.55
mov eax, dword [esi + 0x78]
cmp eax, ebp
jbe case.0x46f90d.55
dec eax
mov dword [esi + 0x78], eax
push 0x621dc4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x78]
xor edi, edi
test eax, eax
mov byte [esp + 0x28], 7
jbe 0x46f963
push 0x613124
lea ecx, [esp + 0x18]
call fcn.0043baec
mov eax, dword [esi + 0x78]
inc edi
cmp edi, eax
jb 0x46f94d
test ebp, ebp
je 0x46f96a
inc dword [esi + 0x78]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
call sub.MFC42.DLL_operator_3
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
mov byte [esp + 0x34], 8
call sub.MFC42.DLL_operator_3
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x28], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0x28
push 0x800068
add byte [eax - 0x73], dl
dec ebp
mov esp, 0x3fc45c6
je 0x46fcd3
cld
dec dword [ebp + 0x45c6ac4d]
cld
add ch, al
push 0x85fffcb9
invalid
lea ecx, [esp + 0x24]
mov byte [esp + 0x118], 0xa
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x12c]
push ecx
push edx
push esi
push ebx
call dword [ebx + 0x58]
add esp, 4
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0048fdc0
test eax, eax
je 0x48fbed
lea ecx, [esp + 0x10]
push ecx
jmp 0x48fc9d
test ecx, ecx
je 0x48fb27
mov dword [ecx], eax
mov dword [esi + 8], eax
jmp 0x48f6a5
mov dword [esi + 4], eax
mov dword [esi + 8], eax
jmp 0x48f6a5
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
push eax
lea ecx, [edi + 0x40]
call sub.MFC42.DLL_CMapStringToPtr::Lookup
test eax, eax
je 0x48fc4c
cmp dword [esp + 0x48], 5
jne 0x48fc4c
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push esi
lea eax, [esp + 0x30]
push ebx
push eax
mov ecx, edi
call fcn.0048d0b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0x35
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x48fc98
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0049b050
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0x36
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], 0xa
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push edx
mov esi, dword [esp + 0x124]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x40], 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x118], 9
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x118], 1
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x118], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10c
ret 0x14