Function at 0x4cc2f0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540661
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x90
push esi
push edi
mov eax, dword [0x577018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
mov dword [eax], 0
mov esi, dword [edx + 0x80]
mov edi, dword [edx + 0x84]
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x4cc4d8
push 0x60
call fcn.00517390
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push 0x60
push 0
push esi
mov dword [ebp - 4], 0
call fcn.00519680
sub esp, 0xc
mov ecx, esp
push 0
push 0x5581b4
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
mov edi, dword [ebp - 0x20]
push 0xffffffffffffffff
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x2c]
sub ecx, 1
sbb eax, 0
push eax
push ecx
push 0
push 0
push 0
push edi
mov ecx, esi
call fcn.004c9d20
mov edx, dword [ebp - 0x24]
lea esi, [edi + 0x80]
mov dword [ebp - 4], 0xffffffff
mov dword [edx], eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x4cc3de
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x4cc3e7
push edx
push ecx
mov ecx, esi
call fcn.004cfc50
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x84]
sub eax, dword [esi]
sar eax, 2
movzx edx, ax
call fcn.00409900
push 0x31
push str.SegmentManager_Created_a_New_Segment_and_now_has
push ecx
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0040b5e0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
sub esp, 0x18
mov byte [ebp - 4], 2
mov esi, esp
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x14], esi
push 0xa
push str._Segments.
call fcn.00402cc0
mov dword [esi], 0
mov ecx, edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
push 0
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.004cf950
lea ecx, [ebp - 0x50]
call fcn.004028f0
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
call fcn.004028f0
push 0
mov ecx, edi
call fcn.004cef40
test al, al
jne 0x4cc698
mov eax, 2
jmp 0x4cc8e8
cmp dword [edx + 0x28], 0
lea eax, [edx + 0xa0]
mov dword [ebp - 0x18], eax
jne 0x4cc4ff
cmp dword [edx + 0x2c], 0xa00
jne 0x4cc4ff
cmp dword [eax], 0
jne 0x4cc502
mov eax, 2
jmp 0x4cc8e8
mov dword [ebp - 0x18], eax
sub edi, esi
xor ecx, ecx
sar edi, 2
test edi, edi
je 0x4cc528
xor eax, eax
nop
mov eax, dword [esi + eax*4]
cmp dword [eax + 0x50], 1
je 0x4cc5a6
inc ecx
movzx eax, cx
cmp eax, edi
jb 0x4cc510
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
je 0x4cc8e3
cmp edi, 0x7530
ja 0x4cc8e3
cmp byte [edx + 0x20], 0
mov ecx, 0x40000
mov eax, 0x19000
mov dword [ebp - 0x2c], 0
cmovne eax, ecx
mov dword [ebp - 0x1c], 0
or ecx, 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
test edi, edi
je 0x4cc6b7
xor esi, esi
nop
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax + 0x40]
sub ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x44]
sbb edx, dword [eax + 0x34]
cmp edx, dword [ebp - 0x2c]
jl 0x4cc69f
jg 0x4cc596
cmp ecx, dword [ebp - 0x28]
jbe 0x4cc69f
mov dword [ebp - 0x28], ecx
mov ecx, esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], ecx
jmp 0x4cc6a2
movzx eax, cx
mov ecx, dword [esi + eax*4]
lea eax, [ebp - 0x50]
mov esi, dword [ebp - 0x24]
push eax
mov dword [esi], ecx
call fcn.004ca400
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.00408d80
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edx
cmp ecx, 8
jb 0x4cc615
mov edi, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4cc605
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc8fe
push ecx
push edi
call fcn.00517162
mov eax, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov ecx, dword [esi]
cmp eax, dword [ecx + 0x30]
jne 0x4cc621
cmp edx, dword [ecx + 0x34]
je 0x4cc698
cmp edx, dword [ecx + 0x44]
jl 0x4cc68d
jg 0x4cc62d
cmp eax, dword [ecx + 0x40]
jbe 0x4cc68d
lea eax, [ebp - 0x50]
push eax
call fcn.004ca400
cmp dword [eax + 0x14], 8
jb 0x4cc63e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x4cc67f
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4cc675
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc903
push ecx
push edx
call fcn.00517162
add esp, 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi]
push 1
push edx
push eax
call fcn.004ca020
xor eax, eax
jmp 0x4cc8e8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
inc eax
movzx esi, ax
mov dword [ebp - 0x1c], eax
cmp esi, edi
jb 0x4cc570
mov esi, dword [ebp - 0x14]
cmp ecx, 0xffffffff
je 0x4cc8e3
lea eax, [ecx*4]
mov esi, dword [eax + esi]
mov dword [ebp - 0x14], eax
push 0
push 2
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x40]
mov edi, dword [esi + 0x34]
sub ecx, eax
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x44]
sbb eax, edi
push eax
push ecx
call fcn.0053aaa0
mov ecx, dword [ebp - 0x18]
add ecx, dword [esi + 0x28]
push 0
adc edi, dword [esi + 0x2c]
add ecx, eax
mov dword [ebp - 0x18], ecx
adc edi, edx
mov edx, ecx
mov ecx, dword [esi + 0x38]
sub edx, 1
mov dword [ebp - 0x28], edi
sbb edi, 0
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 0x3c]
push edi
mov dword [ebp - 0x1c], ecx
mov ecx, esi
push edx
call fcn.004c9eb0
push 0x60
call fcn.00517390
mov edi, eax
add esp, 4
mov dword [ebp - 0x6c], edi
push 0x60
push 0
push edi
mov dword [ebp - 4], 4
call fcn.00519680
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
mov ax, word [ecx + 0x22c]
inc ax
mov word [ecx + 0x22c], ax
mov ecx, esp
push 0
push 0x5581b4
movzx esi, ax
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x80]
add eax, dword [ebp - 0x14]
mov eax, dword [eax]
push dword [eax + 0x4c]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push eax
push esi
push ecx
mov ecx, edi
call fcn.004c9d20
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
sub edi, 0xffffff80
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x4cc7c1
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x4cc7ca
push esi
push ecx
mov ecx, edi
call fcn.004cfc50
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, dword [esi]
sar ecx, 2
dec ecx
mov word [eax + 0x4a], cx
lea ecx, [ebp - 0x9c]
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 2
movzx edx, ax
call fcn.00409900
push 0x31
push str.SegmentManager_Created_a_New_Segment_and_now_has
push ecx
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.0040b5e0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
sub esp, 0x18
mov byte [ebp - 4], 6
mov esi, esp
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x34], esi
push 0xa
push str._Segments.
call fcn.00402cc0
mov ecx, dword [ebp - 0x20]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
push 0
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.004cf950
lea ecx, [ebp - 0x68]
call fcn.004028f0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 0xffffffff
call fcn.004028f0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
movzx ecx, word [eax + 0x4a]
mov eax, dword [edi]
mov edi, dword [ebp - 0x14]
mov eax, dword [eax + edi]
mov dword [eax + 0x4c], ecx
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
movzx eax, word [eax + 0x4a]
push eax
call fcn.004cef40
xor edx, edx
mov ecx, 2
test al, al
cmovne ecx, edx
mov eax, ecx
jmp 0x4cc8e8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0051eb64
call fcn.0051eb64
int3