Function at 0x407a10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x457910
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x18], ebx
call sub.MFC42u.DLL_CString::CString_5
mov ebp, dword [esp + 0x30]
lea esi, [ebx + 0x10]
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], esi
mov ecx, dword [ebp]
add ebp, 0xc
mov dword [ebx + 4], ecx
mov edx, dword [ebp - 8]
mov dword [ebx + 8], edx
mov eax, dword [ebp - 4]
push ebp
mov ecx, esi
mov dword [ebx + 0xc], eax
call sub.MFC42u.DLL_CString::CString_5
mov cl, byte [ebp + 4]
add esi, 4
push 0x24
mov byte [esp + 0x28], 1
mov byte [esi], cl
mov dl, byte [ebp + 5]
mov byte [esi + 1], dl
mov al, byte [ebp + 0xc]
mov byte [esi + 8], al
call sub.MFC42u.DLL_operatornew
mov edi, eax
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], edi
mov dword [edi + 4], 0
mov dword [edi + 0x20], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov ecx, dword [0x473078]
xor eax, eax
cmp ecx, eax
jne 0x407ace
mov dword [0x473078], edi
mov dword [edi], eax
mov ecx, dword [0x473078]
mov dword [esp + 0x2c], eax
mov dword [ecx + 8], eax
mov edx, dword [0x473080]
lea ecx, [esp + 0x10]
inc edx
mov dword [0x473080], edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x407af6
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov edi, dword [0x473078]
push 0x24
call sub.MFC42u.DLL_operatornew
xor ecx, ecx
mov dword [eax + 4], edi
mov dword [eax + 0x20], ecx
mov dword [esi + 4], eax
mov dword [esi + 0xc], ecx
mov dword [eax], eax
mov eax, dword [esi + 4]
add esp, 4
mov dword [eax + 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 4]
mov edi, dword [eax + 4]
mov eax, dword [0x473078]
cmp edi, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edi
je 0x407b8c
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.00408a00
mov ebx, eax
mov eax, dword [esp + 0x30]
cmp eax, edi
jne 0x407b54
mov dword [esp + 0x30], ebx
mov eax, dword [edi + 8]
push ebx
push eax
mov ecx, esi
call fcn.00408cb0
lea ecx, [edi + 0xc]
lea edx, [ebx + 0xc]
push ecx
push edx
mov dword [ebx + 8], eax
call fcn.00408e00
mov eax, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x2c], ebx
mov dword [eax], ebx
mov edi, dword [edi]
mov eax, dword [0x473078]
cmp edi, eax
jne 0x407b36
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x30]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 4]
mov dword [esi + 0xc], ecx
mov edi, dword [0x473078]
mov ecx, dword [edx + 4]
cmp ecx, edi
je 0x407bd6
mov eax, dword [ecx]
cmp eax, edi
je 0x407bc0
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edi
jne 0x407bb8
mov dword [edx], ecx
mov esi, dword [esi + 4]
mov edx, dword [esi + 4]
push edx
call fcn.00408210
add esp, 4
mov dword [esi + 8], eax
jmp 0x407bde
mov dword [edx], edx
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax + 0x14], ecx
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8