Function at 0x4aa370
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9fe3
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x52600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x17c]
test eax, eax
je 0x4aa3c3
cmp dword [eax + 0x48], 0
jne 0x4aa3ca
mov eax, dword [0x565cc0]
mov ecx, 0x565cc0
push 0x10
push 0x512848
call dword [eax + 4]
xor eax, eax
jmp 0x4aa693
push 0x105
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004bf140
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x104
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x164], 0
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x174], 0
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x170], 0xf
mov byte [ebp - 0x184], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4aa460
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x184]
call fcn.00428740
push 0x5099e7
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x17c]
push str._InstallSetting_InstallPath
call fcn.004abb10
mov edx, eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
mov ecx, edx
mov byte [ebp - 4], 3
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4aa4c0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x130]
call fcn.00428740
push 0x5099e7
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0x17c]
push str._InstallSetting_RunExe
call fcn.004abb10
mov edx, eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
mov ecx, edx
mov byte [ebp - 4], 5
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4aa515
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x148]
call fcn.00428740
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x11c]
mov eax, edx
mov ecx, dword [ebp - 0x120]
sub eax, ecx
push 1
push 0x5128d4
cmp eax, 1
jb 0x4aa575
cmp edx, 0x10
lea esi, [ebp - 0x130]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0x130]
add esi, ecx
mov dword [ebp - 0x120], eax
push esi
call fcn.004bf2a0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x4aa58f
mov byte [ebp - 0x188], 0
lea ecx, [ebp - 0x130]
push dword [ebp - 0x188]
push 1
call fcn.00454190
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x148]
cmp dword [ebp - 0x134], 0x10
lea ecx, [ebp - 0x160]
push dword [ebp - 0x138]
cmovae eax, dword [ebp - 0x148]
push eax
call fcn.00428740
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x184]
call fcn.0049d120
cmp dword [ebp - 0x11c], 0x10
lea ecx, [ebp - 0x130]
cmovae ecx, dword [ebp - 0x130]
cmp dword [eax + 0x14], 0x10
jb 0x4aa606
mov eax, dword [eax]
push ecx
push eax
call fcn.004c350b
add esp, 8
lea ecx, [ebp - 0x1a0]
mov esi, eax
call fcn.00428650
test esi, esi
jne 0x4aa628
mov esi, 1
jmp 0x4aa665
cmp dword [ebp - 0x11c], 0x10
lea ecx, [ebp - 0x130]
push 1
cmovae ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x160]
cmp dword [ebp - 0x14c], 0x10
push ecx
cmovae eax, dword [ebp - 0x160]
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor esi, esi
lea ecx, [ebp - 0x160]
call fcn.00428650
lea ecx, [ebp - 0x148]
call fcn.00428650
lea ecx, [ebp - 0x130]
call fcn.00428650
lea ecx, [ebp - 0x184]
call fcn.00463480
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bcfcc
mov esp, ebp
pop ebp
ret