Function at 0x52da30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x52da38
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52dd64
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x542d44]
mov eax, dword [eax]
cmp byte [eax + 0xe88], 0
je 0x52dd2f
call fcn.0052e2b8
mov dword [ebp - 8], eax
mov eax, dword [0x542d44]
mov eax, dword [eax]
mov eax, dword [eax + 0xe8c]
imul edx, eax, 0x3c
imul edx, edx, 0x3e8
cmp edx, dword [ebp - 8]
ja 0x52dc3b
mov edx, dword [ebp - 4]
cmp dword [edx + 0x48], 0
jne 0x52db2e
mov edx, dword [0x542d44]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
fild qword [ebp - 0x1c]
fld xword [0x52dd74]
fmulp st(1)
fstp qword [ebp - 0x10]
wait
mov eax, dword [ebp - 4]
mov byte [eax + 0x40], 0x17
call fcn.004179d4
fsub qword [ebp - 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x1c]
call fcn.00417490
lea eax, [ebp - 0x1c]
call fcn.00417514
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x20]
call fcn.004172e0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.004077d0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x48], edx
xor eax, eax
push ebp
push 0x52db24
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0052e334
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52db2e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
cmp eax, dword [ebp - 8]
jae 0x52db42
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x48], edx
xor eax, eax
push ebp
push 0x52dc34
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [0x543164]
mov eax, dword [eax]
mov edx, dword [eax + 0x390]
lea eax, [ebp - 0x24]
mov ecx, 0x52dd8c
call fcn.00407cb4
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x507730]
call fcn.00507afc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00507ae8
mov edx, 0x18
mov eax, dword [ebp - 0x14]
call fcn.00507e0c
call fcn.004179d4
fsub qword [ebp - 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x1c]
call fcn.00417490
lea eax, [ebp - 0x1c]
call fcn.00417514
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x28]
call fcn.004172e0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.004077d0
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x44]
mov ecx, 0
call fcn.00407a24
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.00507df4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x14]
call fcn.00507e0c
lea eax, [ebp - 0x34]
call fcn.004f5a88
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov ecx, 0
call fcn.00407a24
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.00507df4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52dd2f
mov eax, dword [ebp - 0x14]
call fcn.00405764
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
cmp eax, dword [ebp - 8]
jbe 0x52dd2f
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x40], 0x18
call fcn.004179d4
fsub qword [ebp - 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x1c]
call fcn.00417490
lea eax, [ebp - 0x1c]
call fcn.00417514
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x38]
call fcn.004172e0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.004077d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
fild qword [ebp - 0x1c]
fdiv dword [0x52ddac]
call fcn.00404724
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
xor eax, eax
push ebp
push 0x52dcd7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0052e334
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52dce1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x48], edx
mov eax, dword [0x543164]
mov eax, dword [eax]
mov edx, dword [eax + 0x390]
lea eax, [ebp - 0x40]
mov ecx, 0x52dd8c
call fcn.00407cb4
mov eax, dword [ebp - 0x40]
call fcn.0040785c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040798c
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x44]
call fcn.0040785c
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52dd6b
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.004077c8
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00406a64
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004077c8
ret