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

Disassembly:
push 0x70
mov eax, 0x497ee2
call fcn.00482643
mov edi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00401a22
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.00455855
pop ecx
pop ecx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00456b20
test eax, eax
jne 0x452a09
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.004586b1
pop ecx
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004018cc
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401755
mov ebx, str._WINDIR_
push ebx
push edi
call fcn.004566e3
test eax, eax
pop ecx
pop ecx
je 0x45293d
call fcn.00462b71
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040176f
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004017ad
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00403194
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push ebx
push edi
push eax
call fcn.00458218
add esp, 0x10
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004018cc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401755
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401755
push 0x4a93ec
push 0x4ad518
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00458218
add esp, 0x10
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.004018cc
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401755
lea ecx, [ebp - 0x18]
call fcn.00456b20
test eax, eax
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
je 0x4529d3
call fcn.004017ad
mov ebx, eax
mov eax, dword [edi]
push dword [eax - 0xc]
mov ecx, edi
call fcn.004017ad
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 0x4529b5
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401755
mov eax, esi
call fcn.0048271b
ret
call fcn.004017ad
mov ebx, eax
mov eax, dword [edi]
push dword [eax - 0xc]
mov ecx, edi
call fcn.004017ad
mov edi, eax
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.004017ad
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 0x4529a8
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.004017ad
mov edi, eax
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.004017ad
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 0x452a06