Function at 0x4302b6
Capabilities:
Copy file
Create process on windows
Move file

Disassembly:
push 0x84
mov eax, 0x46aa0f
call fcn.00463b20
mov dword [ebp - 0x24], edx
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
call fcn.004068d0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405f99
mov dword [ebp - 4], 1
call fcn.004068d0
push eax
lea ecx, [ebp - 0x38]
call fcn.00405f99
mov byte [ebp - 4], 3
call fcn.004068d0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405f99
mov byte [ebp - 4], 5
mov al, bl
mov byte [ebp - 0x15], al
test esi, esi
jne 0x43031c
mov esi, dword [ebp - 0x1c]
push 0x57
pop ebx
jmp 0x4307d3
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00408222
push 0x5c
pop esi
push esi
push 0x2f
lea ecx, [ebp - 0x2c]
call fcn.004075aa
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.004076f0
cmp ax, si
je 0x430359
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00407625
push 0x47eb6c
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
call fcn.004074c4
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
push eax
call fcn.0040764f
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
lea ecx, [eax - 0x10]
call fcn.00406985
mov edi, dword [ebp - 0x38]
mov ecx, edi
call fcn.0041d1a9
test al, al
jne 0x43039f
mov esi, dword [ebp - 0x1c]
push 0xd
pop ebx
jmp 0x4307d0
push 0x48bc98
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
call fcn.0041853b
pop ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040764f
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041d1a9
test al, al
je 0x4307bf
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004068d0
push eax
lea ecx, [ebp - 0x28]
call fcn.00405f99
mov byte [ebp - 4], 0xb
call fcn.004068d0
push eax
lea ecx, [ebp - 0x20]
call fcn.00405f99
mov byte [ebp - 4], 0xd
call fcn.004068d0
push eax
lea ecx, [ebp - 0x34]
call fcn.00405f99
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x90]
push 0x44
pop edi
push edi
push ebx
push eax
mov byte [ebp - 0xd], bl
call fcn.00441660
add esp, 0xc
mov dword [ebp - 0x90], edi
cmp dword [ebp + 8], 0
lea eax, [ebp - 0x28]
push dword [ebp - 0x38]
push str._applyupdate
push str._emupdater
je 0x430469
push dword [ebp + 8]
push dword [0x48bc98]
push str._s__s__s__s___s_
push eax
call fcn.00406215
add esp, 0x1c
jmp 0x43047d
push dword [0x48bc98]
push str._s__s__s___s_
push eax
call fcn.00406215
add esp, 0x18
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x4304c6
call fcn.004068d0
push eax
lea ecx, [ebp - 0x14]
call fcn.00405f99
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x14]
push edi
push str.__autoversion__u
push eax
call fcn.00406215
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.00409578
mov byte [ebp - 4], 0xf
lea ecx, [esi - 0x10]
call fcn.00406985
mov esi, dword [ebp - 0x1c]
push esi
push edi
push str.Going_to_apply_update_using_attached_updater_id:_u_from_file__s
call fcn.0041b909
push 0x48bc98
mov edx, 0x48bd84
lea ecx, [ebp - 0x24]
call fcn.0041853b
add esp, 0x10
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x20]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00406985
push ecx
mov edx, 0x47a420
lea ecx, [ebp - 0x14]
call fcn.0041c13c
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.0041853b
pop ecx
pop ecx
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x34]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00406985
mov edi, dword [ebp - 0x34]
push 9
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
push ebx
push edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x430598
cmp eax, 0x20
je 0x43057f
cmp eax, 5
jne 0x43066d
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x14], 1
push 0
pop ebx
jns 0x43055a
jmp 0x43066d
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x14], 9
push 1
push dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x43065e
cmp eax, 0x20
je 0x4305c9
cmp eax, 5
jne 0x4305da
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x14], 1
jns 0x4305a3
mov dword [ebp - 0x14], 9
push 0
push dword [ebp - 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x430657
cmp eax, 0x20
je 0x430603
cmp eax, 5
jne 0x430614
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x14], 1
jns 0x4305e1
mov esi, dword [ebp - 0x20]
push 9
pop ebx
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], 0
jne 0x430651
cmp eax, 0x20
je 0x43063d
cmp eax, 5
jne 0x43064d
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x43061a
cmp dword [ebp - 0x14], 0
sete byte [ebp - 0xd]
jmp 0x43066a
xor ebx, ebx
mov byte [ebp - 0xd], bl
jmp 0x43066f
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040764f
mov esi, dword [ebp - 0x1c]
xor ebx, ebx
mov edi, dword [ebp - 0x28]
cmp dword [edi - 4], 1
jle 0x430686
push dword [edi - 0xc]
lea ecx, [ebp - 0x28]
call fcn.00406462
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x90]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4306ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00405ee3
test ebx, ebx
je 0x4306ca
push ebx
push edi
push esi
push str.Unable_to_execute__s__s_gle_u
call fcn.0041b909
jmp 0x4306f7
push 0xffffffffffffffff
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x30]
push edi
push esi
push str._s__s_exitcode_u
call fcn.0041b909
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
add esp, 0x10
test ebx, ebx
je 0x430744
cmp byte [ebp - 0xd], 0
je 0x430744
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x20]
push 1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x43073b
cmp eax, 0x20
je 0x43072a
cmp eax, 5
jne 0x43073b
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x24], 1
jns 0x43070a
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
xor dl, dl
call fcn.0041e70f
test ebx, ebx
jne 0x430775
call fcn.00430d64
call fcn.0041e284
call fcn.0041e268
mov ecx, 0x48bd58
call fcn.0040a03a
mov ecx, 0x48bd60
call fcn.0040a2f9
cmp dword [ebp - 0x48], 0
je 0x430784
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x4c], 0
je 0x430793
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x20]
lea ecx, [eax - 0x10]
call fcn.00406985
mov byte [ebp - 4], 5
lea ecx, [edi - 0x10]
call fcn.00406985
jmp 0x4307d0
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x15]
push eax
mov edx, edi
call fcn.00427691
pop ecx
mov ebx, eax
mov al, byte [ebp - 0x15]
mov edi, dword [ebp - 0x2c]
cmp dword [edi - 0xc], 0
je 0x4307e7
test al, al
jne 0x4307e7
mov ecx, edi
call fcn.0041c39d
mov byte [ebp - 4], 3
lea ecx, [esi - 0x10]
call fcn.00406985
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00406985
or dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0x10]
call fcn.00406985
mov eax, ebx
call fcn.00463ae9
ret