Function at 0x48f306
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59e55f
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 0x48f204
shl eax, 6
add eax, 0x5c30cc
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 0x48f246
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
push 0x630394
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x48f254
push 0x641dc4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x34]
push edx
call fcn.00492030
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, edi
je 0x48f274
push 0x20
lea ecx, [esp + 0x10]
call fcn.0045b4e6
cmp dword [esp + 0x54], ebp
je 0x48f2a8
lea eax, [esp + 0x50]
push 0x62fc60
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 0x48f2d4
lea edx, [esp + 0x50]
push 0x631e1c
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.0x48f2ed.55
xor edx, edx
mov dl, byte [eax + 0x48f408]
jmp dword [edx*4 + 0x48f3f8]
mov eax, dword [esi + 0x78]
cmp eax, ebp
jbe case.0x48f2ed.52
dec eax
mov dword [esi + 0x78], eax
mov ebp, 1
jmp case.0x48f2ed.55
mov eax, dword [esi + 0x78]
cmp eax, ebp
jbe case.0x48f2ed.55
dec eax
mov dword [esi + 0x78], eax
push 0x641dc4
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 0x48f343
push 0x633124
lea ecx, [esp + 0x18]
call fcn.0045b4ec
mov eax, dword [esi + 0x78]
inc edi
cmp edi, eax
jb 0x48f32d
test ebp, ebp
je 0x48f34a
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
xchg esp, eax
mov ecx, 0x4d8dfffc
lodsb al, byte [esi]
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.004af7a0
test eax, eax
je 0x4af5cd
lea ecx, [esp + 0x10]
push ecx
jmp 0x4af67d
test ecx, ecx
je 0x4af507
mov dword [ecx], eax
mov dword [esi + 8], eax
jmp 0x4af085
mov dword [esi + 4], eax
mov dword [esi + 8], eax
jmp 0x4af085
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 0x4af62c
cmp dword [esp + 0x48], 5
jne 0x4af62c
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.004aca90
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 0x4af678
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.004baa30
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