Function at 0x4821e6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5908cf
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 0x4820e4
shl eax, 6
add eax, 0x5b50cc
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 0x482126
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
push 0x622394
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x482134
push 0x633dc4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x34]
push edx
call fcn.00484f10
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, edi
je 0x482154
push 0x20
lea ecx, [esp + 0x10]
call fcn.0044e3c6
cmp dword [esp + 0x54], ebp
je 0x482188
lea eax, [esp + 0x50]
push 0x621c60
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 0x4821b4
lea edx, [esp + 0x50]
push 0x623e1c
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.0x4821cd.55
xor edx, edx
mov dl, byte [eax + 0x4822e8]
jmp dword [edx*4 + 0x4822d8]
mov eax, dword [esi + 0x78]
cmp eax, ebp
jbe case.0x4821cd.52
dec eax
mov dword [esi + 0x78], eax
mov ebp, 1
jmp case.0x4821cd.55
mov eax, dword [esi + 0x78]
cmp eax, ebp
jbe case.0x4821cd.55
dec eax
mov dword [esi + 0x78], eax
push 0x633dc4
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 0x482223
push 0x625124
lea ecx, [esp + 0x18]
call fcn.0044e3cc
mov eax, dword [esi + 0x78]
inc edi
cmp edi, eax
jb 0x48220d
test ebp, ebp
je 0x48222a
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.004a2680
test eax, eax
je 0x4a24ad
lea ecx, [esp + 0x10]
push ecx
jmp 0x4a255d
test ecx, ecx
je 0x4a23e7
mov dword [ecx], eax
mov dword [esi + 8], eax
jmp 0x4a1f65
mov dword [esi + 4], eax
mov dword [esi + 8], eax
jmp 0x4a1f65
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 0x4a250c
cmp dword [esp + 0x48], 5
jne 0x4a250c
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.0049f970
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 0x4a2558
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.004ad910
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