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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5daabb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
push 0xc0
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x38], ebx
je 0x55246b
mov ecx, eax
call fcn.0050ae90
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x552471
mov dword [esp + 0x14], ebx
mov esi, ebx
mov ecx, esi
mov dword [esp + 0x38], 0xffffffff
call fcn.0050c430
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push eax
mov eax, dword [edi]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0050c450
fld qword [ebp + 8]
fdiv qword [edi + 0x10]
fchs
fld st(0)
fmul qword [edi + 0x18]
fadd qword [edi]
fstp qword [esp + 0x20]
mov eax, dword [esp + 0x24]
fmul qword [edi + 0x20]
fadd qword [edi + 8]
fstp qword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0050c450
mov edi, dword [edi + 0x60]
fld qword [ebp + 8]
fdiv qword [edi + 0x10]
fadd qword [0x5e2858]
fld st(0)
fmul qword [edi + 0x18]
fadd qword [edi]
fstp qword [esp + 0x20]
mov ecx, dword [esp + 0x24]
fmul qword [edi + 0x20]
fadd qword [edi + 8]
fstp qword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0050c450
push ebx
push ebx
push ebx
push ebx
push 5
mov ecx, esi
call fcn.0050c4b0
test al, al
je 0x5526d3
mov edi, dword [ebp + 0x14]
push 0xffffffffffffffff
mov ecx, edi
mov ebx, dword [edi + 8]
lea eax, [ebx + 1]
push eax
call fcn.0046d900
mov ecx, dword [edi + 4]
xor edi, edi
mov dword [ecx + ebx*4], esi
mov ebx, dword [ebp + 0x18]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov esi, edx
mov dword [esp + 0x18], esi
inc esi
cmp esi, edi
jne 0x55258a
cmp eax, edi
je 0x552564
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [ebx + 4], edi
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, edi
jne 0x5525dd
lea edi, [esi*4]
push edi
call sub.mfc42u.dll_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x18]
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x18]
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0xc]
cmp esi, ecx
jg 0x552616
cmp esi, edx
jle 0x5525f3
mov ecx, esi
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [ebx + 8], esi
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x552640
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x552634
mov eax, 4
jmp 0x552640
cmp eax, 0x400
jle 0x552640
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x10], eax
jl 0x55264e
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
push ecx
call sub.mfc42u.dll_operatornew
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x1c]
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
lea esi, [edx + 1]
mov edx, esi
mov dword [esp + 0x1c], eax
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.005463a0
mov ecx, dword [ebx + 4]
push ecx
call sub.mfc42u.dll_operatordelete
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 4], edx
mov ecx, edx
mov edx, dword [esp + 0x18]
mov dword [ebx + 8], esi
add esp, 4
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, ebx
je 0x5526e0
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x28]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret