Function at 0x464bf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d830d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x514080]
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.00409970
push ebx
push str.UninstallFilePath
mov ecx, edi
call fcn.00464a20
mov eax, dword [ebx]
cmp dword [eax - 4], 1
jle 0x464c49
push dword [eax - 0xc]
mov ecx, ebx
call fcn.00402410
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], 0x4ec614
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
jne 0x464c89
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x464ecb
call fcn.00404710
mov ebx, eax
test ebx, ebx
je 0x464f04
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push str._echo_off__r_n
call fcn.00403720
test al, al
jne 0x464cd3
push 0xc
push str._echo_off__r_n
lea ecx, [ebp - 0x10]
call fcn.004038b0
mov byte [ebp - 4], 2
xor ebx, ebx
cmp dword [edi + 0x1c], ebx
jle 0x464d7a
call fcn.00404710
mov dword [ebp - 0x18], eax
test eax, eax
je 0x464f04
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x18]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
test ebx, ebx
js 0x464f0e
cmp ebx, dword [edi + 0x1c]
jge 0x464f0e
mov eax, dword [edi + 0x18]
push dword [eax + ebx*4]
lea eax, [ebp - 0x14]
push str.del___s___r_n
push eax
call fcn.00408b70
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.004025d0
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x464d70
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x20]
inc ebx
cmp ebx, dword [edi + 0x1c]
jl 0x464ce2
call fcn.00404710
mov ebx, eax
test ebx, ebx
je 0x464f04
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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.00408b70
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
add esp, 0x1c
push dword [edi - 0xc]
push edi
call fcn.004025d0
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.004a0fd2
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 0x464e5e
cmp word [esi], bx
je 0x464e5e
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 0x464e5e
push eax
call fcn.004a0fd7
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 0x464e5e
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.004a0fd2
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 0x464ea1
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e1514]
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 0x464ec9
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0x4ec614
test eax, eax
je 0x464eee
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.00402740
push 0x8000000b
call fcn.00402740
int3