Function at 0x530730
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe3c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1c0], ebx
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1b0], ebx
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 4]
call fcn.004053dc
mov eax, dword [ebp - 8]
call fcn.004053dc
lea eax, [ebp - 0x170]
mov edx, dword [0x409728]
call fcn.00405d1c
xor eax, eax
push ebp
push 0x530bc8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x174]
xor edx, edx
mov dword [eax + 0x18], edx
mov byte [ebp - 0x175], 0
mov dl, 1
mov eax, dword [0x41fc3c]
call fcn.00403fb4
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x1a4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405274
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x170]
mov edx, 0x3f
call fcn.0040bb0c
test eax, eax
jne 0x530888
mov eax, dword [ebp - 0x15c]
mov edx, 0x530be8
call fcn.00405384
je 0x53086e
mov eax, dword [ebp - 0x15c]
mov edx, 0x530bf4
call fcn.00405384
je 0x53086e
lea eax, [ebp - 0x1a8]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 4]
call fcn.00405274
mov eax, dword [ebp - 0x1a8]
call fcn.0040b8c8
test al, al
je 0x53086e
lea eax, [ebp - 0x1ac]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 4]
call fcn.00405274
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x170]
call fcn.0040bb5c
test eax, eax
je 0x530802
lea eax, [ebp - 0x170]
call fcn.0040bb80
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x530b71
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + 8]
xor edx, edx
mov eax, dword [ebp - 0x17c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov dl, 1
mov eax, dword [0x41fc3c]
call fcn.00403fb4
mov dword [ebp - 0x180], eax
xor eax, eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0xc]
call fcn.00404f5c
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x53099b
inc eax
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x184], 0
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x1b0]
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x17c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x180]
mov eax, dword [ebp - 0x174]
call fcn.005302d0
push dword [ebp - 0xc]
push 0x530c00
lea edx, [ebp - 0x1b4]
mov eax, dword [ebp - 0x180]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push dword [ebp - 0x1b4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004052f0
fld qword [ebp - 0x198]
fcomp qword [ebp - 0x190]
wait
fnstsw ax
sahf
jbe 0x530989
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x18c], eax
inc dword [ebp - 0x184]
dec dword [ebp - 0x1a0]
jne 0x5308fe
mov eax, dword [ebp - 0x180]
call fcn.00403fe4
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x530a31
inc eax
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x184], 0
xor edx, edx
push ebp
push 0x530a19
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0x1b8]
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x17c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], ebx
mov eax, dword [ebp - 0x1bc]
call fcn.004053ec
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x530a23
inc dword [ebp - 0x184]
dec dword [ebp - 0x1a0]
jne 0x5309c7
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b4494]
call fcn.004c6da8
mov dword [ebp - 0x19c], eax
xor eax, eax
push ebp
push 0x530af5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00511f7c
mov eax, dword [ebp - 0x19c]
add eax, 0x3c
mov edx, dword [ebp - 0x10]
call fcn.00405928
mov dl, 3
mov eax, dword [ebp - 0x19c]
call fcn.004bb6b4
mov eax, dword [ebp - 0x19c]
call fcn.004c60f0
push 0x20
push 0
push 0
mov ecx, dword [ebp - 0xc]
mov edx, 0x530c08
mov eax, dword [ebp - 0x19c]
call fcn.004c6914
push 0x20
push 0
push 0
fld qword [ebp - 0x190]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x1c0]
call fcn.0040d790
mov ecx, dword [ebp - 0x1c0]
mov edx, 0x530c14
mov eax, dword [ebp - 0x19c]
call fcn.004c6914
mov eax, dword [ebp - 0x19c]
call fcn.004c6360
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x530afc
mov eax, dword [ebp - 0x19c]
call fcn.00403fe4
ret
mov eax, dword [ebp - 0x17c]
call fcn.00403fe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x530bcf
lea eax, [ebp - 0x1c4]
mov edx, 2
call fcn.00404f80
lea eax, [ebp - 0x1b8]
mov edx, 6
call fcn.00404f80
lea eax, [ebp - 0x170]
mov edx, dword [0x409728]
call fcn.00405dec
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404f80
ret