Function at 0x52c460
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d85bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov ebx, ecx
mov eax, dword [esi + 8]
test eax, eax
jle 0x52c4ab
mov eax, dword [esi + 4]
push 3
mov ecx, dword [eax + edi*4]
call fcn.0050c910
test al, al
jne 0x52c4ab
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x52c492
cmp edi, dword [esi + 8]
je 0x52cedf
lea ecx, [esp + 0x40]
call fcn.004ccd50
push 3
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x54]
mov dword [esp + 0xac], 0
call fcn.004b7660
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x10], esi
lea edi, [esi + esi]
test edi, edi
jne 0x52c507
mov eax, dword [ebx + 8]
cmp eax, edi
je 0x52c4fc
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [ebx + 8], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0xc], edi
jmp 0x52c5fa
mov edx, dword [ebx + 8]
test edx, edx
jne 0x52c533
lea ecx, [edi*4]
push ecx
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [ebx + 8], eax
push edi
push eax
call fcn.005463a0
mov dword [ebx + 0x10], edi
mov dword [ebx + 0xc], edi
jmp 0x52c5fa
mov ecx, dword [ebx + 0x10]
cmp edi, ecx
jg 0x52c557
mov eax, dword [ebx + 0xc]
cmp edi, eax
jle 0x52c54f
mov ecx, edi
lea edx, [edx + eax*4]
sub ecx, eax
push ecx
push edx
call fcn.005463a0
mov dword [ebx + 0xc], edi
jmp 0x52c5fa
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x52c582
mov eax, dword [ebx + 0xc]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x52c576
mov eax, 4
jmp 0x52c582
cmp eax, 0x400
jle 0x52c582
mov eax, 0x400
add eax, ecx
cmp edi, eax
mov dword [esp + 0x18], eax
jl 0x52c590
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x18]
lea ecx, [eax*4]
push ecx
call sub.mfc42u.dll_operatornew
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
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 + 0x14]
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0xc]
lea esi, [edx + edx]
mov edx, esi
mov dword [esp + 0x28], eax
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.005463a0
mov eax, dword [ebx + 8]
push eax
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0xc], esi
mov esi, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 8], ecx
mov dword [ebx + 0x10], edx
xor edi, edi
test esi, esi
jle 0x52c6f8
lea eax, [esi*4]
mov dword [esp + 0x18], eax
mov ecx, dword [ebx + 8]
push 3
mov edx, dword [ecx + edi*4]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0xd8]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax*4]
call fcn.0050c910
test al, al
je 0x52c6d6
push 0x170
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x98], 1
je 0x52c65b
mov ecx, eax
call fcn.005a09a0
mov esi, eax
jmp 0x52c65d
xor esi, esi
mov eax, dword [ebx + 8]
mov byte [esp + 0x98], 0
mov ecx, dword [eax + edi*4]
push ecx
mov ecx, esi
call fcn.00520110
mov edx, dword [esi]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call dword [edx + 0x1c]
mov edx, dword [ebx + 8]
lea ecx, [esi + 0xe0]
fstp st(0)
mov eax, dword [edx + edi*4]
add eax, 0xe0
push eax
call fcn.004b7e20
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esi + 0xe0]
call fcn.004b80e0
mov edx, dword [ebx + 8]
mov eax, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
add edx, edi
mov ecx, dword [eax + 0xd8]
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd8], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x18]
mov dword [ecx + eax], esi
mov esi, dword [esp + 0x10]
jmp 0x52c6e4
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x18]
mov dword [eax + edx], 0
mov ecx, dword [esp + 0x18]
inc edi
add ecx, 4
cmp edi, esi
mov dword [esp + 0x18], ecx
jl 0x52c60f
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x2c], 0x5f07cc
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], edx
mov eax, dword [ebx + 0x28]
mov byte [esp + 0x98], 2
lea edi, [eax + eax]
cmp edi, edx
jne 0x52c730
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], edx
jmp 0x52c75e
lea eax, [edi + edi*4]
lea ecx, [eax + eax*8]
lea edx, [edi + ecx*2]
shl edx, 3
push edx
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x30], eax
push edi
push eax
call fcn.00546160
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
xor edx, edx
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x10], edx
cmp eax, edx
mov dword [esp + 0x28], edx
jle 0x52cca2
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov edi, dword [ebx + 0x24]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add edi, esi
mov dword [esp + 0x1c], 0x10
lea esi, [ecx + eax]
mov cx, word [edi]
mov word [esi], cx
mov dx, word [edi + 2]
mov word [esi + 2], dx
mov ax, word [edi + 4]
mov word [esi + 4], ax
mov cx, word [edi + 6]
mov word [esi + 6], cx
mov dx, word [edi + 8]
mov word [esi + 8], dx
mov ax, word [edi + 0xa]
mov word [esi + 0xa], ax
mov eax, edi
sub eax, esi
lea ecx, [esi + 0xc]
mov dword [esp + 0x24], eax
mov dx, word [eax + ecx]
mov word [ecx], dx
mov edx, dword [esp + 0x1c]
add ecx, 2
dec edx
mov dword [esp + 0x1c], edx
jne 0x52c7cc
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1c], 0x10
mov dx, word [ecx + eax]
mov word [ecx], dx
mov edx, dword [esp + 0x1c]
add ecx, 2
dec edx
mov dword [esp + 0x1c], edx
jne 0x52c7ec
lea ecx, [esi + 0x4c]
mov dword [esp + 0x1c], 0x10
mov edx, dword [ecx + eax]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
add ecx, 4
dec edx
mov dword [esp + 0x1c], edx
jne 0x52c80c
lea eax, [esi + 0x90]
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
lea eax, [ecx + edx]
push eax
call fcn.004b6d90
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add ecx, 0x20
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
jne 0x52c831
lea ecx, [edi + 0x290]
lea edx, [esi + 0x290]
mov dword [esp + 0x20], 0x10
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [edi + 0x2a0]
mov dword [esi + 0x2a0], edx
mov eax, dword [edi + 0x2a4]
lea ecx, [edi + 0x2a8]
mov dword [esi + 0x2a4], eax
lea edx, [esi + 0x2a8]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
lea eax, [esi + 0x2b8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea edx, [edi + 0x2b8]
mov ecx, dword [edi + 0x2b8]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x2c8]
mov dword [esi + 0x2c8], eax
mov ecx, dword [edi + 0x2cc]
mov dword [esi + 0x2cc], ecx
mov edx, dword [edi + 0x2d0]
mov dword [esi + 0x2d0], edx
mov eax, dword [edi + 0x2d4]
mov dword [esi + 0x2d4], eax
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 0x24]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
inc eax
mov dx, word [edi + esi]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
add edi, esi
add eax, 0x2d8
mov dword [esp + 0x14], eax
lea esi, [ecx + eax]
mov word [esi], dx
mov ax, word [edi + 2]
mov word [esi + 2], ax
mov cx, word [edi + 4]
mov word [esi + 4], cx
mov dx, word [edi + 6]
mov word [esi + 6], dx
mov ax, word [edi + 8]
mov word [esi + 8], ax
mov cx, word [edi + 0xa]
mov eax, edi
mov word [esi + 0xa], cx
sub eax, esi
lea ecx, [esi + 0xc]
mov dword [esp + 0x24], eax
mov dx, word [eax + ecx]
mov word [ecx], dx
mov edx, dword [esp + 0x20]
add ecx, 2
dec edx
mov dword [esp + 0x20], edx
jne 0x52c972
lea ecx, [esi + 0x2c]
mov dword [esp + 0x20], 0x10
mov dx, word [eax + ecx]
mov word [ecx], dx
mov edx, dword [esp + 0x20]
add ecx, 2
dec edx
mov dword [esp + 0x20], edx
jne 0x52c992
lea ecx, [esi + 0x4c]
mov dword [esp + 0x20], 0x10
mov edx, dword [eax + ecx]
mov dword [ecx], edx
mov edx, dword [esp + 0x20]
add ecx, 4
dec edx
mov dword [esp + 0x20], edx
jne 0x52c9b2
lea eax, [esi + 0x90]
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add edx, ecx
push edx
call fcn.004b6d90
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add ecx, 0x20
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
jne 0x52c9d7
lea eax, [edi + 0x290]
lea ecx, [esi + 0x290]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x2a0]
mov dword [esi + 0x2a0], ecx
mov edx, dword [edi + 0x2a4]
lea eax, [edi + 0x2a8]
mov dword [esi + 0x2a4], edx
lea ecx, [esi + 0x2a8]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
lea edx, [esi + 0x2b8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [edi + 0x2b8]
mov eax, dword [edi + 0x2b8]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [edi + 0x2c8]
mov dword [esi + 0x2c8], edx
mov eax, dword [edi + 0x2cc]
mov dword [esi + 0x2cc], eax
mov ecx, dword [edi + 0x2d0]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x2d0], ecx
mov edx, dword [edi + 0x2d4]
mov dword [esi + 0x2d4], edx
mov ecx, dword [esp + 0x30]
fld qword [ecx + eax + 0x290]
fcomp qword [ebp + 8]
lea esi, [ecx + eax]
fnstsw ax
test ah, 0x41
je 0x52cc78
xor edi, edi
cmp word [esi + 0xa], di
jle 0x52cb11
lea ecx, [esi + 0xc]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
push 3
movsx eax, word [edx]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax*4]
call fcn.0050c910
test al, al
je 0x52cb0d
movsx eax, word [esi + 0xa]
mov edx, dword [esp + 0x1c]
inc edi
add edx, 2
cmp edi, eax
mov dword [esp + 0x1c], edx
jl 0x52cade
mov ecx, dword [esp + 0x30]
movsx edx, word [esi + 0xa]
cmp edi, edx
jl 0x52cc78
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x298]
mov ecx, dword [esi + 0x29c]
add edx, 0x2d8
mov dword [esi + 0x290], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov dword [esi + 0x294], ecx
mov edx, dword [ebx + 0x24]
mov edi, dword [esp + 0x10]
fld qword [esi + 0x2c0]
mov ecx, dword [edx + eax + 0x290]
inc edi
mov dword [esi + 0x298], ecx
mov ecx, dword [esi + 0x2b8]
mov edx, dword [edx + eax + 0x294]
mov dword [esi + 0x2b0], ecx
mov dword [esi + 0x29c], edx
mov edx, dword [esi + 0x2bc]
fchs
fstp qword [esi + 0x2a8]
mov dword [esi + 0x2b4], edx
mov ecx, dword [ebx + 0x24]
cmp word [esi + 8], 0
mov dword [esp + 0x10], edi
fld qword [ecx + eax + 0x2b0]
fchs
fstp qword [esi + 0x2b8]
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x1c], 0
mov ecx, dword [edx + eax + 0x2a8]
mov dword [esi + 0x2c0], ecx
mov edx, dword [edx + eax + 0x2ac]
mov dword [esi + 0x2c4], edx
jle 0x52cc6d
lea edx, [esi + 0x4c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
lea ecx, [esi + 0xa0]
mov edi, dword [ecx - 0x10]
mov dword [ecx - 8], edi
mov edi, dword [ecx - 0xc]
mov dword [ecx - 4], edi
mov edi, dword [ecx]
mov dword [ecx + 8], edi
mov edi, dword [ecx + 4]
mov dword [ecx + 0xc], edi
mov edi, dword [ebx + 0x24]
fld qword [esi + 0x290]
fsub qword [edi + eax + 0xa8]
add ecx, 0x20
fstp qword [ecx - 0x30]
mov edi, dword [ebx + 0x24]
fld qword [esi + 0x290]
fsub qword [edi + eax + 0x98]
fstp qword [ecx - 0x20]
mov eax, dword [ebx + 0xc]
mov edi, dword [edx]
cdq
sub eax, edx
mov edx, dword [edi + 0xd4]
sar eax, 1
add edx, eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x20]
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
movsx edi, word [esi + 8]
inc eax
add edx, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
add eax, 0x20
cmp dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
jl 0x52cbe6
mov ecx, esi
call fcn.0059c250
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov edx, dword [ebx + 0x28]
inc eax
add esi, 0x2d8
cmp eax, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
jl 0x52c77b
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x52ccd5
test ecx, ecx
je 0x52ccc6
mov edx, dword [esp + 0x34]
push edx
push ecx
call fcn.00546130
mov eax, dword [esp + 0x30]
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x30], 0
xor esi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
jmp 0x52ce24
test ecx, ecx
jne 0x52cd0a
mov esi, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea ecx, [eax + eax*8]
lea edx, [esi + ecx*2]
shl edx, 3
push edx
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x30], eax
push esi
push eax
call fcn.00546160
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
jmp 0x52ce24
mov edi, dword [esp + 0x38]
cmp esi, edi
jg 0x52cd68
mov eax, dword [esp + 0x34]
cmp eax, esi
jge 0x52cd40
mov edx, dword [esp + 0x10]
sub edx, eax
push edx
lea edx, [eax + eax*4]
lea edx, [edx + edx*8]
lea eax, [eax + edx*2]
lea ecx, [ecx + eax*8]
push ecx
call fcn.00546160
mov esi, dword [esp + 0x10]
mov dword [esp + 0x34], esi
jmp 0x52ce24
jle 0x52cd5f
mov edx, dword [esp + 0x10]
sub eax, edx
push eax
lea eax, [edx + edx*4]
lea eax, [eax + eax*8]
lea edx, [edx + eax*2]
lea eax, [ecx + edx*8]
push eax
call fcn.00546130
mov esi, dword [esp + 0x10]
mov dword [esp + 0x34], esi
jmp 0x52ce24
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x52cd95
mov eax, dword [esp + 0x34]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x52cd89
mov eax, 4
jmp 0x52cd95
cmp eax, 0x400
jle 0x52cd95
mov eax, 0x400
add eax, edi
cmp esi, eax
mov dword [esp + 0x1c], eax
jl 0x52cda3
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + ecx*4]
lea edx, [eax + eax*8]
lea eax, [ecx + edx*2]
shl eax, 3
push eax
call sub.mfc42u.dll_operatornew
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov edi, eax
add esp, 4
lea edx, [ecx + ecx*4]
mov dword [esp + 0x28], eax
lea edx, [edx + edx*8]
lea ecx, [ecx + edx*2]
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov edx, esi
sub edx, ecx
push edx
lea edx, [ecx + ecx*4]
lea edx, [edx + edx*8]
lea ecx, [ecx + edx*2]
lea edx, [eax + ecx*8]
push edx
call fcn.00546160
mov eax, dword [esp + 0x30]
push eax
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edx
lea edi, [ebx + 0x20]
push 0xffffffffffffffff
push esi
mov ecx, edi
call fcn.00544b80
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 4]
push eax
push ecx
push edx
call fcn.00546200
mov esi, dword [ebx + 0xc]
dec esi
js 0x52ce61
mov eax, dword [ebx + 8]
cmp dword [eax + esi*4], 0
jne 0x52ce5e
push 1
push esi
lea ecx, [ebx + 4]
call fcn.00544290
dec esi
jns 0x52ce4a
mov ecx, dword [ebx + 0xc]
xor eax, eax
test ecx, ecx
jle 0x52ce7e
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + eax*4]
mov dword [edx + 0xd4], eax
mov ecx, dword [ebx + 0xc]
inc eax
cmp eax, ecx
jl 0x52ce6a
mov esi, dword [ebx + 0x28]
dec esi
js 0x52ceba
lea eax, [esi + esi*4]
lea eax, [eax + eax*8]
lea edi, [esi + eax*2]
shl edi, 3
mov ecx, dword [ebx + 0x24]
fld qword [ecx + edi + 0x298]
fcomp qword [ebp + 8]
fnstsw ax
test ah, 0x41
jne 0x52ceaf
push 1
push esi
lea ecx, [ebx + 0x20]
call fcn.00544d50
dec esi
sub edi, 0x2d8
test esi, esi
jge 0x52ce90
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 0
call fcn.00544e00
lea ecx, [esp + 0x40]
mov dword [esp + 0x98], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0x90]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc