Function at 0x4c70f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4f8a1d
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x54d000]
xor eax, esp
mov dword [esp + 0x1a4], eax
push esi
push edi
mov eax, dword [0x54d000]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xec]
test eax, eax
je 0x4c7155
cmp dword [eax + 0x48], 0
jne 0x4c715c
mov eax, dword [0x58dba0]
mov ecx, 0x58dba0
push 0x10
push 0x533108
call dword [eax + 4]
xor eax, eax
jmp 0x4c7441
push 0x104
lea eax, [esp + 0xa9]
mov byte [esp + 0xa8], 0
push 0
push eax
call fcn.004dc9b0
add esp, 0xc
lea eax, [esp + 0xa4]
push 0x104
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov dword [esp + 0x94], 0
lea eax, [esp + 0xa4]
movdqa xmmword [esp + 0x74], xmm0
push eax
lea ecx, [esp + 0x78]
movdqa xmmword [esp + 0x88], xmm0
call fcn.004c8250
push 0x529344
mov dword [esp + 0x1c4], 0
mov ecx, dword [esi + 0xec]
push str._InstallSetting_InstallPath
call fcn.004c8d40
mov edx, eax
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
mov byte [esp + 0x1c0], 1
cmp byte [edx], 0
jne 0x4c7207
xor ecx, ecx
jmp 0x4c7219
mov ecx, edx
lea edi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c7210
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.004270f0
push 0x529344
mov byte [esp + 0x1c4], 2
mov ecx, dword [esi + 0xec]
push str._InstallSetting_RunExe
call fcn.004c8d40
mov edx, eax
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov byte [esp + 0x1c0], 3
cmp byte [edx], 0
jne 0x4c7269
xor ecx, ecx
jmp 0x4c7279
mov ecx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c7270
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.004270f0
push 1
push 0x533194
lea ecx, [esp + 0x34]
mov byte [esp + 0x1c8], 4
call fcn.00434c30
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x64]
mov byte [esp + 0x1c8], 5
push eax
lea ecx, [esp + 0x50]
call fcn.00426d70
lea eax, [esp + 0x14]
mov byte [esp + 0x1c0], 6
push eax
lea ecx, [esp + 0x78]
call fcn.004c8170
cmp dword [esp + 0x40], 0x10
lea ecx, [esp + 0x2c]
cmovae ecx, dword [esp + 0x2c]
cmp dword [eax + 0x14], 0x10
jb 0x4c72f7
mov eax, dword [eax]
push ecx
push eax
call fcn.004e0e39
add esp, 8
mov dword [esp + 0x24], 0
test eax, eax
lea eax, [esp + 0x14]
sete byte [esp + 0x13]
cmp dword [esp + 0x28], 0x10
cmovae eax, dword [esp + 0x14]
mov byte [eax], 0
cmp dword [esp + 0x28], 0x10
jb 0x4c7334
push dword [esp + 0x14]
call fcn.004d9d65
add esp, 4
cmp byte [esp + 0x13], 0
je 0x4c7342
mov esi, 1
jmp 0x4c7373
cmp dword [esp + 0x40], 0x10
lea ecx, [esp + 0x2c]
push 1
cmovae ecx, dword [esp + 0x30]
lea eax, [esp + 0x48]
cmp dword [esp + 0x5c], 0x10
push ecx
cmovae eax, dword [esp + 0x4c]
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor esi, esi
cmp dword [esp + 0x58], 0x10
lea eax, [esp + 0x44]
mov dword [esp + 0x54], 0
cmovae eax, dword [esp + 0x44]
mov byte [eax], 0
cmp dword [esp + 0x58], 0x10
jb 0x4c739f
push dword [esp + 0x44]
call fcn.004d9d65
add esp, 4
cmp dword [esp + 0x70], 0x10
lea eax, [esp + 0x5c]
mov dword [esp + 0x58], 0xf
cmovae eax, dword [esp + 0x5c]
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
mov dword [esp + 0x6c], 0
mov byte [eax], 0
cmp dword [esp + 0x70], 0x10
jb 0x4c73e0
push dword [esp + 0x5c]
call fcn.004d9d65
add esp, 4
cmp dword [esp + 0x40], 0x10
lea eax, [esp + 0x2c]
mov dword [esp + 0x70], 0xf
cmovae eax, dword [esp + 0x2c]
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x3c], 0
mov byte [eax], 0
cmp dword [esp + 0x40], 0x10
jb 0x4c7421
push dword [esp + 0x2c]
call fcn.004d9d65
add esp, 4
lea ecx, [esp + 0x74]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
call fcn.00434e00
mov eax, esi
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret