Function at 0x528340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5853b6
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 0x5ed920
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call fcn.0040f8c0
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x2c], 3
cmp eax, edi
jne 0x5283e3
cmp dword [0x5e5cb4], edi
jne 0x5283e3
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x2c], 4
je 0x5283b8
push edi
mov ecx, eax
call fcn.00414650
jmp 0x5283ba
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0x34], 3
call fcn.00406600
mov dword [0x5e5cb8], 1
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [0x5e5cb4]
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 0x528584
cmp dword [esp + 8], edi
je 0x528584
push 0x5ed8c0
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
call fcn.0040f8c0
mov eax, dword [0x5e5d30]
mov byte [esp + 0x30], 5
cmp eax, edi
jne 0x528490
cmp dword [0x5e5d2c], edi
jne 0x528490
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, edi
mov byte [esp + 0x30], 6
je 0x528464
mov ecx, eax
call fcn.00464f50
jmp 0x528466
xor eax, eax
mov edx, dword [0x5cf938]
mov ecx, 0x5eafa0
push edx
push 0x41dab0
mov byte [esp + 0x38], 5
mov dword [0x5e5d2c], eax
call fcn.00406600
mov dword [0x5e5d30], 1
mov ecx, dword [esp + 0x20]
mov esi, dword [0x5e5d2c]
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 0x528584
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x528584
push 0x5d1240
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00427500
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 0x528557
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push 0x5d7670
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 0x528584
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 0x528598
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
mov byte [esp + 0x2c], 0
cmp eax, edi
je 0x5285ab
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 0x5285c2
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret