Function at 0x45bc0a
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xa4
mov eax, 0x4a2c3e
call fcn.0048cfe2
mov ebx, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00401a17
xor esi, esi
mov dword [ebp - 4], esi
mov eax, SysReAllocString
push 0x3c
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
xor edi, edi
lea eax, [ebp - 0x68]
push esi
inc edi
push eax
mov dword [ebp - 0xb0], 0x44
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], edi
mov word [ebp - 0x80], 0xa
mov word [ebp - 0x7e], si
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
call fcn.00487f00
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x64], 0x440
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], str.runas
mov dword [ebp - 0x4c], edi
call fcn.0045edf5
add esp, 0x14
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004600f3
test eax, eax
jne 0x45bee0
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00461e79
pop ecx
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004018c1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, str._WINDIR_
push edi
push ebx
call fcn.0045fcb6
test eax, eax
pop ecx
pop ecx
je 0x45bd81
call fcn.0046d63c
push eax
lea ecx, [ebp - 0x18]
call fcn.00401764
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004017a2
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0040338b
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push edi
push ebx
push eax
call fcn.004619e0
add esp, 0x10
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004018c1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
push 0x4b53cc
push 0x4b9d78
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.004619e0
add esp, 0x10
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.004018c1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
lea ecx, [ebp - 0x10]
call fcn.004600f3
test eax, eax
je 0x45be44
cmp dword [ebp + 0xc], esi
je 0x45be05
mov eax, dword [ebx]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x54], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x45be05
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, esi
call fcn.0048d0ba
ret
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.004017a2
mov edi, eax
mov eax, dword [ebx]
push dword [eax - 0xc]
mov ecx, ebx
call fcn.004017a2
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
push edi
push esi
push 0x20
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x45bde7
mov esi, dword [ebp - 0x2c]
jmp 0x45bde7
mov edi, 0x4b62c0
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0045fc0d
test eax, eax
pop ecx
pop ecx
jne 0x45beb2
push edi
lea edi, [ebp - 0x10]
call fcn.0045fa8a
test eax, eax
pop ecx
jne 0x45beb2
mov edi, 0x4b62c0
lea eax, [ebp - 0x18]
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.00404cf6
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.0040145d
add esp, 0x14
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004018c1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [ebp - 0x1c]
push 0x4b506c
push eax
mov ecx, ebx
call fcn.00404cf6
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0040157b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
cmp dword [ebp + 0xc], esi
mov ebx, dword [ebp - 0x10]
je 0x45bf06
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x45bde4
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.004017a2
push dword [ebx - 0xc]
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.004017a2
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
push edi
push esi
push 0x20
push esi
push esi
push esi
push esi
push eax
jmp 0x45be35