Function at 0x470640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b9a50
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x168]
xor esi, esi
cmp eax, esi
je 0x470697
mov edx, dword [edi + 0x11c]
lea ecx, [edi + 0x11c]
call dword [edx + 0x1c]
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
push ebx
push ebp
push 0xe0
mov dword [edi + 0x110], 1
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
cmp ebp, esi
mov dword [esp + 0x20], esi
je 0x47073d
lea ecx, [ebp + 4]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp + 8]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp + 0x10]
mov byte [esp + 0x20], 2
call fcn.004958d0
lea ecx, [ebp + 0x2c]
mov byte [esp + 0x20], 3
call fcn.004958d0
lea esi, [ebp + 0x48]
mov byte [esp + 0x20], 4
mov ecx, esi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 4]
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 8]
mov byte [esp + 0x20], 6
call fcn.004958d0
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 7
call fcn.00452d80
lea ecx, [ebp + 0xb0]
mov byte [esp + 0x20], 8
call fcn.00452d80
mov dword [esp + 0x10], ebp
jmp 0x470743
mov dword [esp + 0x10], esi
mov ebp, esi
mov ebx, dword [esp + 0x28]
lea ecx, [ebp + 4]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [ebx]
mov dword [ebp], eax
lea eax, [ebx + 4]
push eax
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebx + 8]
lea ecx, [ebp + 8]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x10]
mov dword [ebp + 0xc], ecx
push eax
lea ecx, [ebp + 0x10]
mov dword [esp + 0x2c], eax
call fcn.00497150
lea eax, [ebx + 0x2c]
lea ecx, [ebp + 0x2c]
push eax
mov dword [esp + 0x18], eax
call fcn.00497150
lea esi, [ebx + 0x48]
add ebp, 0x48
push esi
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
lea edx, [esi + 4]
lea ecx, [ebp + 4]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esi + 8]
lea ecx, [ebp + 8]
push eax
call fcn.00497150
mov ecx, dword [esi + 0x24]
mov dword [ebp + 0x24], ecx
mov edx, dword [esi + 0x28]
lea ecx, [esi + 0x30]
mov dword [ebp + 0x28], edx
mov eax, dword [esi + 0x2c]
push ecx
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x2c], eax
call fcn.0041f440
mov edx, dword [esi + 0x5c]
mov dword [ebp + 0x5c], edx
mov eax, dword [esi + 0x60]
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x60], eax
mov ecx, dword [esi + 0x64]
mov dword [ebp + 0x64], ecx
lea ebp, [ebx + 0xb0]
push ebp
lea ecx, [edx + 0xb0]
call fcn.0041f440
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x118]
push eax
push 1
push ecx
mov ecx, edi
call fcn.00470fa0
mov edx, dword [ebx]
lea eax, [ebx + 4]
push eax
lea ecx, [edi + 0x24]
mov dword [edi + 0x20], edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebx + 8]
lea ecx, [edi + 0x28]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 0xc]
push ecx
lea ecx, [edi + 0x30]
mov dword [edi + 0x2c], eax
call fcn.00497150
mov edx, dword [esp + 0x14]
lea ecx, [edi + 0x4c]
push edx
call fcn.00497150
lea ebx, [edi + 0x68]
push esi
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esi + 4]
lea ecx, [ebx + 4]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esi + 8]
push ecx
lea ecx, [ebx + 8]
call fcn.00497150
mov edx, dword [esi + 0x24]
mov dword [ebx + 0x24], edx
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov ecx, dword [esi + 0x2c]
lea edx, [esi + 0x30]
mov dword [ebx + 0x2c], ecx
push edx
lea ecx, [ebx + 0x30]
call fcn.0041f440
mov eax, dword [esi + 0x5c]
push ebp
mov dword [ebx + 0x5c], eax
mov ecx, dword [esi + 0x60]
mov dword [ebx + 0x60], ecx
mov edx, dword [esi + 0x64]
lea ecx, [edi + 0xd0]
mov dword [ebx + 0x64], edx
call fcn.0041f440
mov eax, dword [edi + 0x11c]
lea ecx, [edi + 0x11c]
call dword [eax + 0x1c]
mov ecx, dword [esp + 0x18]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4