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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1278
call fcn.00402be0
mov eax, dword [0x44f044]
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.00401260
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.0040cc46
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.0040cc46
add esp, 0xc
cmp dword [section..data], edi
jne 0x401895
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040faaa
add esp, 0xc
test eax, eax
je 0x40188c
test edi, edi
jne 0x401873
lea eax, [ebp - 0x20c]
push str.javaInstall.jar
push eax
call fcn.0040391c
add esp, 8
test eax, eax
je 0x401873
lea edi, [ebp - 0x20c]
lea edx, [edi + 2]
nop word [eax + eax]
mov cx, word [edi]
add edi, 2
test cx, cx
jne 0x401850
sub edi, edx
lea edx, [eax + 2]
sar edi, 1
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401862
sub eax, edx
sar eax, 1
sub edi, eax
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040faaa
add esp, 0xc
test eax, eax
jne 0x401825
push ebx
call fcn.0042140d
add esp, 4
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040faaa
add esp, 0xc
test eax, eax
je 0x401a5c
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 0x4018d0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jbe 0x40190c
cmp word [ebp + ecx*2 - 0x20e], 0xa
jne 0x40190c
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x401a6d
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
cmp dword [section..data], 0
jne 0x401966
test edi, edi
je 0x401966
push dword [0x44fa18]
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040cd1b
lea eax, [ebp - 0x20c]
lea eax, [eax + edi*2]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040cc46
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040cd1b
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 0x4019fc
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040ce73
add esp, 8
test eax, eax
je 0x4019eb
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040ce73
add esp, 8
test eax, eax
je 0x4019eb
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x401a33
call ebx
call ebx
push eax
lea eax, [ebp - 0x1024]
push eax
push 2
call fcn.0040f786
add esp, 4
push eax
call fcn.00402290
add esp, 0xc
jmp 0x401a33
lea eax, [ebp - 0x20c]
push eax
call fcn.00401000
add esp, 4
jmp 0x401a3a
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401a33
call ebx
cmp eax, 5
jne 0x401a33
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.0040faaa
add esp, 0xc
test eax, eax
jne 0x4018c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402bcd
mov esp, ebp
pop ebp
ret
call fcn.004029df
int3