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

Disassembly:
push 0x70
mov eax, 0x4a193a
call fcn.0048bd52
mov edi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00401a17
xor esi, esi
mov dword [ebp - 4], esi
mov eax, SysReAllocString
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x7c], 0x44
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 1
mov word [ebp - 0x4c], 0xa
mov word [ebp - 0x4a], si
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
call fcn.0045db86
pop ecx
pop ecx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0045ee51
test eax, eax
jne 0x45ac95
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00460bd7
pop ecx
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004018c1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
mov ebx, str._WINDIR_
push ebx
push edi
call fcn.0045ea14
test eax, eax
pop ecx
pop ecx
je 0x45abc9
call fcn.0046c34c
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401764
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004017a2
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00403395
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push ebx
push edi
push eax
call fcn.0046073e
add esp, 0x10
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004018c1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
push 0x4b43bc
push 0x4b8ba8
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0046073e
add esp, 0x10
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.004018c1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
lea ecx, [ebp - 0x18]
call fcn.0045ee51
test eax, eax
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
je 0x45ac5f
call fcn.004017a2
mov ebx, eax
mov eax, dword [edi]
push dword [eax - 0xc]
mov ecx, edi
call fcn.004017a2
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push ebx
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 0x45ac41
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, esi
call fcn.0048be2a
ret
call fcn.004017a2
mov ebx, eax
mov eax, dword [edi]
push dword [eax - 0xc]
mov ecx, edi
call fcn.004017a2
mov edi, eax
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.004017a2
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push ebx
push esi
push 0x20
push esi
push esi
push esi
push edi
push eax
jmp 0x45ac34
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.004017a2
mov edi, eax
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.004017a2
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push edi
push esi
push 0x20
push esi
push esi
push esi
push esi
jmp 0x45ac92