Function at 0x404482
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0x84
mov eax, 0x677f0d
call fcn.005b8561
lea ecx, [ebp - 0x7c]
call fcn.004c5481
xor ebx, ebx
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call fcn.004c5481
xor esi, esi
inc esi
mov byte [ebp - 4], 1
mov edi, 0x8000
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], esi
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x18]
call fcn.004015a6
mov dword [ebp - 0x24], esi
mov esi, dword [ebp + 0x2c]
push edi
mov byte [ebp - 4], 2
mov dword [esi], ebx
call fcn.005b7f13
mov edi, eax
pop ecx
mov dword [ebp - 0x20], edi
cmp edi, ebx
jne 0x404518
mov dword [esi], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040124d
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], bl
call fcn.004c55b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004c55b1
xor eax, eax
call fcn.005b8606
ret
push ebx
push 0x8020
push dword [ebp + 8]
lea ecx, [ebp - 0x7c]
call fcn.004c5909
test eax, eax
jne 0x40453c
push edi
call fcn.005b7fa7
pop ecx
mov dword [esi], 2
jmp 0x4044eb
lea ecx, [ebp - 0x7c]
call fcn.004c536d
push 0x80
push dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
call dword [0x69b35c]
push ebx
push 0x9011
push dword [ebp + 0xc]
lea ecx, [ebp - 0x90]
call fcn.004c5909
test eax, eax
jne 0x4045b3
push edi
call fcn.005b7fa7
pop ecx
lea ecx, [ebp - 0x7c]
call fcn.004c541c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [esi], 3
call fcn.0040124d
xor esi, esi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], bl
call fcn.004c55b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004c55b1
mov eax, esi
jmp 0x404512
mov edi, 0x7fffffff
mov esi, 0x80000000
xor eax, eax
cmp eax, dword [ebp + 0x18]
ja 0x404725
jb 0x4045d6
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x14]
jae 0x404725
cmp dword [ebp - 0x1c], ebx
jbe 0x404725
mov eax, 0x8000
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.004c5176
push eax
push dword [ebp - 0x20]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
call fcn.004c51b8
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], ebx
mov ecx, eax
mov dword [ebp - 0x14], eax
xor eax, eax
add ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x40], ebx
adc eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x34], eax
and dword [ebp - 0x34], esi
and eax, edi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x24]
fild qword [ebp - 0x58]
fild qword [ebp - 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x3c], eax
and dword [ebp - 0x3c], esi
fchs
faddp st(1)
and eax, edi
mov dword [ebp - 0x5c], eax
fild qword [ebp - 0x60]
mov dword [ebp - 4], 2
fild qword [ebp - 0x40]
fchs
faddp st(1)
fdivp st(1)
fld qword [0x69cd80]
fmul st(1), st(0)
fxch st(1)
call fcn.005b8cd6
fild dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jns 0x40468b
fadd qword [0x69ce28]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
and dword [ebp - 0x44], esi
and eax, edi
mov dword [ebp - 0x64], eax
fild qword [ebp - 0x68]
mov dword [ebp - 0x48], ebx
fild qword [ebp - 0x48]
fchs
faddp st(1)
fdivp st(1)
fmulp st(1)
call fcn.005b8cd6
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0x10], ebx
je 0x4045bd
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x69cd88
call fcn.00401b65
mov ecx, dword [0x7534c4]
add ecx, 0x130
call fcn.0040cae3
push dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x2c]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push dword [ebp + 0xc]
call fcn.00401b65
push dword [ebp - 0x30]
mov ecx, dword [ebp + 0x10]
call fcn.00428a7b
jmp 0x4045bd
lea ecx, [ebp - 0x7c]
call fcn.004c541c
lea ecx, [ebp - 0x90]
call fcn.004c541c
push dword [ebp - 0x20]
call fcn.005b7fa7
mov esi, dword [ebp - 0x24]
pop ecx
cmp esi, ebx
jne 0x404751
push dword [ebp + 0xc]
call dword [0x69b358]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040124d
jmp 0x404592