Function at 0x412c00
Capabilities:
Create process on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x485c44]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 9], 0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 0x105
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00457ed0
add esp, 4
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x412e33
mov eax, dword [ebp - 8]
add eax, 0x105
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00457ed0
add esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x412e21
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str..exe
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
lea ecx, [ebp - 0x11]
call fcn.00412e50
movzx eax, al
test eax, eax
je 0x412e0f
push str.runas
lea ecx, [ebp - 0x34]
call fcn.0040d830
mov dword [ebp - 0x70], 0
push 0x38
push 0
lea ecx, [ebp - 0x6c]
push ecx
call fcn.0045a140
add esp, 0xc
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x6c], 0x40
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0xcc]
movzx eax, byte [edx + 0x10]
test eax, eax
je 0x412d5d
mov dword [ebp - 0xd0], 0
jmp 0x412d83
cmp dword [ebp - 0x1c], 8
jb 0x412d6e
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xd4], ecx
jmp 0x412d77
lea edx, [ebp - 0x30]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0xcc]
movzx eax, byte [edx + 8]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x412df2
cmp dword [ebp - 0x38], 0
je 0x412df2
mov byte [ebp - 9], 1
mov edx, dword [ebp - 0xcc]
cmp dword [edx + 0xc], 0
je 0x412de6
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x38]
mov dword [ecx], edx
jmp 0x412df0
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x412e03
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx + 0x14]
mov dword [edx], eax
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.0040d8a0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.00458b3a
add esp, 4
mov edx, dword [ebp - 4]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
call fcn.00458b3a
add esp, 4
mov al, byte [ebp - 9]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00458357
mov esp, ebp
pop ebp
ret 4