Function at 0x51c6a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56ea36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push edi
xor edi, edi
mov dword [esp + 4], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
push 0x5d2ac0
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call fcn.00410470
mov eax, dword [0x5cb048]
mov byte [esp + 0x2c], 3
cmp eax, edi
jne 0x51c743
cmp dword [0x5cb044], edi
jne 0x51c743
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x2c], 4
je 0x51c718
push edi
mov ecx, eax
call fcn.00414150
jmp 0x51c71a
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0x34], 3
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [0x5cb044]
mov byte [esp + 0x30], 2
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 8]
push ecx
push esi
call dword [eax + 0xa4]
test eax, eax
jl 0x51c8e4
cmp dword [esp + 8], edi
je 0x51c8e4
push 0x5d2a60
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
call fcn.00410470
mov eax, dword [0x5cb0cc]
mov byte [esp + 0x30], 5
cmp eax, edi
jne 0x51c7f0
cmp dword [0x5cb0c8], edi
jne 0x51c7f0
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, edi
mov byte [esp + 0x30], 6
je 0x51c7c4
mov ecx, eax
call fcn.0045e9d0
jmp 0x51c7c6
xor eax, eax
mov edx, dword [0x5b5c48]
mov ecx, 0x5d0190
push edx
push 0x41ebd0
mov byte [esp + 0x38], 5
mov dword [0x5cb0c8], eax
call fcn.00406500
mov dword [0x5cb0cc], 1
mov ecx, dword [esp + 0x20]
mov esi, dword [0x5cb0c8]
mov byte [esp + 0x30], 2
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push edx
push esi
call dword [ecx + 8]
test eax, eax
jl 0x51c8e4
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x51c8e4
push 0x5b6f70
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00423a70
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, edi
mov byte [esp + 0x30], 7
mov dword [esp + 0x14], eax
je 0x51c8b7
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push 0x5bd028
push ecx
call dword [eax]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x24]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x30], 2
cmp eax, edi
je 0x51c8e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov byte [esp + 0x30], 1
cmp eax, edi
pop esi
je 0x51c8f8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
mov byte [esp + 0x2c], 0
cmp eax, edi
je 0x51c90b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, edi
pop edi
je 0x51c922
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret