Function at 0x4017a0
Capabilities:
Delete directory
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1278
call fcn.00402c30
mov eax, dword [0x451040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1024]
push esi
push edi
push 0x400
push eax
xor edi, edi
mov dword [ebp - 0x1278], ebx
push 0x6d
push edi
call fcn.00401270
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x61c]
add esp, 0x10
push eax
push 0x104
call esi
push str._tmp
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.0040cdc6
add esp, 0xc
lea eax, [ebp - 0x824]
push eax
push 0x104
call esi
push str.logs
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.0040cdc6
add esp, 0xc
cmp dword [0x451034], edi
jne 0x4018c5
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040fc2a
add esp, 0xc
test eax, eax
je 0x4018bc
test edi, edi
jne 0x4018a3
lea eax, [ebp - 0x20c]
push str.javaInstall.jar
push eax
call fcn.00403961
add esp, 8
test eax, eax
je 0x4018a3
lea edi, [ebp - 0x20c]
lea edx, [edi + 2]
nop word [eax + eax]
mov cx, word [edi]
add edi, 2
test cx, cx
jne 0x401880
sub edi, edx
lea edx, [eax + 2]
sar edi, 1
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401892
sub eax, edx
sar eax, 1
sub edi, eax
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040fc2a
add esp, 0xc
test eax, eax
jne 0x401855
push ebx
call fcn.0042158d
add esp, 4
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040fc2a
add esp, 0xc
test eax, eax
je 0x401a9d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [eax + eax]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401900
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jbe 0x40193c
cmp word [ebp + ecx*2 - 0x20e], 0xa
jne 0x40193c
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x401aae
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
cmp dword [0x451034], 0
jne 0x401996
test edi, edi
je 0x401996
push dword [0x451a2c]
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040ce9b
lea eax, [ebp - 0x20c]
lea eax, [eax + edi*2]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040cdc6
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040ce9b
add esp, 0x24
lea eax, [ebp - 0x1274]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
test byte [ebp - 0x1274], 0x10
mov esi, eax
je 0x401a3d
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040cff3
add esp, 8
test eax, eax
jne 0x4019e7
lea eax, [ebp - 0x20c]
push eax
call fcn.00401010
add esp, 4
jmp 0x401a7b
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040cff3
add esp, 8
test eax, eax
lea eax, [ebp - 0x20c]
push eax
jne 0x401a12
call fcn.00401010
add esp, 4
jmp 0x401a7b
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x401a74
call ebx
call ebx
push eax
lea eax, [ebp - 0x1024]
push eax
push 2
call fcn.0040f906
add esp, 4
push eax
call fcn.004022d0
add esp, 0xc
jmp 0x401a74
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401a74
call ebx
cmp eax, 5
jne 0x401a74
push 0x80
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x1278]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040fc2a
add esp, 0xc
test eax, eax
jne 0x4018f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402c13
mov esp, ebp
pop ebp
ret
call fcn.00402a21
int3