Function at 0x4305b0
Capabilities:
Copy file
Create process on windows
Delete file
Get common file path

Disassembly:
sub esp, 0x234
mov eax, 0x46de44
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x43077b
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x43077b
mov ecx, 0x46bcfc
test ecx, ecx
jne 0x4305eb
mov dword [esp + 0x14], edi
jmp 0x4305f6
push 0x46bcfc
call esi
mov dword [esp + 0x14], eax
mov esi, dword [0x4838e0]
mov edx, dword [esi - 8]
lea ebp, [esi + edx*2]
cmp esi, ebp
jae 0x430781
push 0x46de44
push esi
call fcn.00459e1d
add esp, 8
test eax, eax
je 0x430632
lea esi, [eax + ebx*2]
push 0x46de44
push esi
inc edi
call fcn.00459e1d
add esp, 8
test eax, eax
jne 0x43061c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp esi, ebp
jb 0x43060a
test edi, edi
jle 0x43077b
mov ecx, 0x4838e0
call fcn.00401d40
mov ebp, dword [esp + 0x14]
mov esi, dword [0x4838e0]
sub ebp, ebx
imul ebp, edi
mov eax, dword [esi - 8]
mov dword [esp + 0x18], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x28], ebp
cmp eax, ebp
jl 0x43067c
cmp dword [esi - 0xc], 1
jle 0x4306bf
lea edi, [esi - 0xc]
push ebp
mov ecx, 0x4838e0
mov dword [esp + 0x24], edi
call fcn.00401ce0
test eax, eax
je 0x43077b
mov ecx, dword [edi + 4]
mov edi, dword [0x4838e0]
shl ecx, 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004028a0
mov esi, dword [0x4838e0]
mov edx, dword [esi - 8]
lea eax, [esi + edx*2]
cmp esi, eax
mov dword [esp + 0x1c], eax
jae 0x430778
push 0x46de44
push esi
call fcn.00459e1d
mov edi, eax
add esp, 8
test edi, edi
je 0x43075b
mov eax, dword [0x4838e0]
mov edx, dword [esp + 0x14]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x18]
sar ecx, 1
sub eax, ecx
lea esi, [edx + edx]
sub eax, ebx
lea ecx, [edi + ebx*2]
lea ebp, [eax + eax]
lea eax, [esi + edi]
push ebp
push ecx
push eax
mov dword [esp + 0x2c], eax
call fcn.0045a220
mov ecx, esi
mov esi, 0x46bcfc
mov edx, ecx
mov eax, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebx
and ecx, 3
push 0x46de44
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
push esi
mov word [esi + ebp], 0
mov ebp, dword [esp + 0x2c]
add ebp, eax
mov dword [esp + 0x2c], ebp
call fcn.00459e1d
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4306e5
mov ebp, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jb 0x4306d1
mov esi, dword [0x4838e0]
mov dword [esi - 8], ebp
mov esi, dword [0x4838e0]
cmp dword [esi - 8], 3
jge 0x430b17
mov ecx, dword [0x4837e4]
xor eax, eax
mov dword [esp + 0x38], ecx
mov ecx, 0x81
lea edi, [esp + 0x3c]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x483a70]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x46b21c]
mov ecx, str._away_with_it.exe
test ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
je 0x430825
mov edx, ecx
shr edx, 0x10
jne 0x4307ec
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x24]
push eax
call fcn.00402fe0
jmp 0x430825
push str._away_with_it.exe
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x430825
push esi
lea ecx, [esp + 0x28]
call fcn.00401ce0
test eax, eax
je 0x430825
mov edi, dword [esp + 0x24]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, str._away_with_it.exe
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x483978]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x430841
mov dword [esp + 0x18], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x430855
mov ecx, dword [0x46b21c]
push eax
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1c]
call fcn.00402e60
mov eax, dword [esp + 0x10]
mov ecx, 0x105
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x43086e
cmp dword [eax - 4], ecx
jge 0x4308af
mov ebx, dword [eax - 8]
cmp ebx, ecx
jle 0x430877
mov ecx, ebx
push ecx
lea ecx, [esp + 0x14]
call fcn.00401ce0
test eax, eax
je 0x4308af
mov edi, dword [esp + 0x10]
lea ecx, [ebx + ebx + 2]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [eax - 8], ebx
call fcn.004028a0
mov eax, dword [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x10]
call fcn.00401d40
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
call edi
mov edx, dword [esp + 0x10]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x430934
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x430902
mov edx, dword [0x46b220]
add eax, 0xfffffff4
cmp eax, edx
jne 0x430909
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x430919
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.004027f0
jmp 0x430934
lea ecx, [esp + 0x14]
call fcn.00402690
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [esp + 0x1c]
push eax
call fcn.0041c900
add esp, 4
lea ecx, [esp + 0x2c]
push str._Uninstall.ini
push 0x483978
call fcn.00429290
push eax
lea ecx, [esp + 0x24]
push 0x46c140
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00403460
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00402d10
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00403460
lea ecx, [esp + 0x34]
call fcn.00401e80
lea ecx, [esp + 0x30]
call fcn.00401e80
lea ecx, [esp + 0x2c]
call fcn.00401e80
push 0x46de44
push 0x46bcfc
lea ecx, [esp + 0x24]
call fcn.00403c70
lea edx, [esp + 0x20]
mov ecx, 0x4ab7a0
push edx
call fcn.004082c0
push 0
push str.admin_install
call fcn.0041dd60
mov esi, eax
add esp, 8
test esi, esi
jne 0x4309da
call fcn.0042c2a0
test eax, eax
je 0x4309f9
mov eax, str._Uninstall.exe
test eax, eax
je 0x4309ea
push str._Uninstall.exe
call edi
push str._Uninstall.exe
push eax
lea ecx, [esp + 0x2c]
call fcn.004027f0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x38]
push 0x46c140
push eax
call fcn.0040b860
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.00402d10
push eax
lea ecx, [esp + 0x14]
call fcn.004035b0
lea ecx, [esp + 0x2c]
call fcn.00401e80
lea ecx, [esp + 0x30]
call fcn.00401e80
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edx, [esp + 0x1c]
push 0x4837e8
push edx
lea eax, [esp + 0x34]
push str.___uninstall___UNPATH:
push eax
call fcn.0040b860
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00403460
lea ecx, [esp + 0x2c]
call fcn.00401e80
test esi, esi
jne 0x430aa6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push 9
push edx
push eax
push ecx
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x430acd
push 0
push str.runas
push 0
lea ecx, [esp + 0x34]
call fcn.00402f30
push eax
push 0
lea ecx, [esp + 0x20]
call fcn.00402f30
push eax
call fcn.0042fe50
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.00401e80
lea ecx, [esp + 0x20]
call fcn.00401e80
lea ecx, [esp + 0x1c]
call fcn.00401e80
lea ecx, [esp + 0x18]
call fcn.00401e80
lea ecx, [esp + 0x24]
call fcn.00401e80
lea ecx, [esp + 0x14]
call fcn.00401e80
lea ecx, [esp + 0x10]
call fcn.00401e80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret
mov edx, dword [0x483a70]
push 0
push 0x42f3c0
push 0
push 0xc2
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret