Function at 0x4679f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50eafd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x569080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
push dword [ebp + 8]
lea ebx, [edi + 8]
mov ecx, ebx
call fcn.00409df0
push ebx
push str.UninstallFilePath
mov ecx, edi
call fcn.00467810
mov eax, dword [ebx]
cmp dword [eax - 4], 1
jle 0x467a49
push dword [eax - 0xc]
mov ecx, ebx
call fcn.004024c0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], 0x5305e4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
jne 0x467a89
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x467cd1
call fcn.004047f0
mov ebx, eax
test ebx, ebx
je 0x467d0a
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov eax, str._echo_off__r_n
lea ecx, [ebp - 0x10]
test eax, 0xffff0000
jne 0x467acd
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x467ad9
push 0xc
push str._echo_off__r_n
call fcn.00403870
mov byte [ebp - 4], 2
xor ebx, ebx
cmp dword [edi + 0x1c], ebx
jle 0x467b80
call fcn.004047f0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x467d0a
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x18]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
test ebx, ebx
js 0x467d14
cmp ebx, dword [edi + 0x1c]
jge 0x467d14
mov eax, dword [edi + 0x18]
push dword [eax + ebx*4]
lea eax, [ebp - 0x14]
push str.del___s___r_n
push eax
call fcn.00408fe0
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.00402660
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x467b76
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x20]
inc ebx
cmp ebx, dword [edi + 0x1c]
jl 0x467ae8
call fcn.004047f0
mov ebx, eax
test ebx, ebx
je 0x467d0a
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
push dword [edi + 8]
mov eax, dword [edi + 4]
push dword [edi]
push eax
push eax
push eax
lea eax, [ebp - 0x14]
push str.:again__r_nif_not_exist___s__goto_end__r_nif_exist___s__del___s___r_ngoto_again__r_n:end__r_nrmDir___s___r_ndel___s___cls
push eax
call fcn.00408fe0
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
add esp, 0x1c
push dword [edi - 0xc]
push edi
call fcn.00402660
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetACP]
push 0
mov dword [ebp - 0x18], eax
call fcn.004d4092
xor ebx, ebx
add esp, 4
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x28], ebx
test esi, esi
je 0x467c64
cmp word [esi], bx
je 0x467c64
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x467c64
push eax
call fcn.004d4097
add esp, 4
mov ebx, eax
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
push 0
push 0
push eax
push ebx
push 0xffffffffffffffff
push esi
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x467c64
push 0
lea ecx, [ebp - 0x20]
dec eax
push ecx
push eax
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 7
push ebx
call fcn.004d4092
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
lea ecx, [edi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x467ca7
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x525578]
mov ecx, ebx
call edi
mov byte [ebp - 4], 0
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x467ccf
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0x5305e4
test eax, eax
je 0x467cf4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004027d0
push 0x8000000b
call fcn.004027d0
int3