Function at 0x474090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x508ae4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
xor edi, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0xc]
push esi
mov dword [esp + 0x3c], 5
call fcn.004c830a
lea eax, [esi + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.004c830a
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.004c830a
lea edx, [esi + 0xc]
lea ecx, [esp + 0x18]
push edx
call fcn.004c830a
lea eax, [esi + 0x10]
lea ecx, [esp + 0x1c]
push eax
call fcn.004c830a
add esi, 0x14
lea ecx, [esp + 0x20]
push esi
call fcn.004c830a
cmp dword [esp + 0x48], edi
je 0x474163
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Empty
cmp dword [ebp + 0x70], edi
je 0x4741d8
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x30
ret 0xc
sub esp, 0x24
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], esp
mov esi, esp
push ecx
mov ecx, esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x6c], esi
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x34]
lea ecx, [esi + 4]
push edx
mov byte [esp + 0x60], 0xb
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x38]
lea ecx, [esi + 8]
push eax
mov byte [esp + 0x60], 0xc
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 0xd
push ecx
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x40]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x60], 0xe
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x44]
lea ecx, [esi + 0x14]
push eax
mov byte [esp + 0x60], 0xf
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x5c], 5
mov dword [esi + 0x18], ecx
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x50]
mov dword [esi + 0x20], eax
call fcn.00476d10
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebp
add esp, 0x30
ret 0xc