Function at 0x1001be90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154620
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x101c0618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10073040
mov esi, eax
push str.SETUPDATA
push 0xd7
push 0
mov ecx, dword [esi]
push esi
call dword [ecx + 0x10]
test eax, eax
jne 0x1001c06b
push str.InitPackInfo_failed__exit
call fcn.1004a190
add esp, 4
push 4
push 0x10175078
push 0
call fcn.100302f0
cmp eax, 6
jne 0x1001bf11
push 1
push 0
push 0
push dword [0x101bff98]
push 0x101750a4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1001c1f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0
push 0x101750f8
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push str._sInitPackInfo:_d
push eax
call fcn.10012500
add esp, 0x10
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1001c203
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.install_failed
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1001aad0
test al, al
jne 0x1001bf88
push 0xe
push str.install_failed
lea ecx, [ebp - 0x14]
call fcn.1000adf0
mov byte [ebp - 4], 2
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1001c20d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.install
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1001aad0
test al, al
jne 0x1001bfca
push 7
push str.install
lea ecx, [ebp - 0x10]
call fcn.1000adf0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x1c], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push 0
push esi
push 1
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
call fcn.1006f2a0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.10070290
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001c01e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001c03c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x1001c058
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.InitPackInfo_success
call fcn.1004a190
push str.InitConfig_setup.ldsprj
call fcn.1004a190
mov eax, dword [esi]
add esp, 8
push str.setup.ldsprj
push str.SETUPCONFIG
push 0xd5
push 0
push esi
call dword [eax + 0xc]
test eax, eax
jne 0x1001c1d6
push str.InitConfig_failed__exit
call fcn.1004a190
add esp, 4
push 4
push 0x10175078
push 0
call fcn.100302f0
cmp eax, 6
jne 0x1001c0da
push 1
push 0
push 0
push dword [0x101bff98]
push 0x101750a4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1001c217
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0
push 0x101750f8
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 6
push str._sInitConfig:_d
push eax
call fcn.10012500
add esp, 0x10
lea ecx, [ebp - 0x10]
push str.install_failed
call fcn.1000b130
push str.install
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.1000b130
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x1c], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push 0
push esi
push 1
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 9
push eax
call fcn.1006f2a0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.10070290
mov edx, dword [ebp - 0x14]
or edi, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001c185
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001c1a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x1001c058
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.InitConfig_success
call fcn.1004a190
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
int3