Function at 0x40f4e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47be90
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4a3e28]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 0x3c], 0
call fcn.004412f5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f528
push 0x80004005
call fcn.004011b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x3c], 1
call fcn.004412f5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f557
push 0x80004005
call fcn.004011b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18]
mov bl, 2
push ecx
mov byte [esp + 0x40], bl
call fcn.004089b0
mov edx, dword [eax]
push edx
lea eax, [esp + 0x18]
push str._s..SCeBookSet.ini
push eax
mov byte [esp + 0x4c], 3
call fcn.004029f0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x3c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f5b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00401590
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00403e60
add esp, 4
test eax, eax
je 0x40f625
lea ecx, [esp + 0x18]
push ecx
call fcn.004089b0
mov edx, dword [eax]
push edx
lea eax, [esp + 0x1c]
push str._s..SCeBookSet.exe
push eax
mov byte [esp + 0x4c], 4
call fcn.004029f0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x3c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f625
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004089b0
mov edx, dword [eax]
push edx
lea eax, [esp + 0x18]
push str._s..SCeBookKC.ini
push eax
mov byte [esp + 0x4c], 5
call fcn.004029f0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x3c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f66d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x10]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push esi
call fcn.00401590
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00403e60
add esp, 4
test eax, eax
je 0x40f6dd
lea ecx, [esp + 0x18]
push ecx
call fcn.004089b0
mov edx, dword [eax]
push edx
lea eax, [esp + 0x1c]
push str._s..SCeBookKC.exe
push eax
mov byte [esp + 0x4c], 6
call fcn.004029f0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x3c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f6dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
call fcn.0044385a
mov edi, dword [esp + 0x14]
push 0
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 7
call fcn.004438f2
cmp eax, 1
jne 0x40f716
push eax
push 0
push str._Active
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], bl
call fcn.00443883
mov byte [esp + 0x3c], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f741
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [edi - 0x10]
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f762
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f78a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 4