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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001243c
mov eax, dword fs:[0]
push eax
mov eax, 0x18ec
call fcn.10012060
mov eax, dword [0x1001b010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push ebx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x18a0], 0
lea eax, [ebp - 0x18a0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x100019a4
cmp dword [ebp - 0x18a0], 0
mov dword [ebp - 0x18a0], 1
jne 0x100019ae
mov dword [ebp - 0x18a0], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x18a0]
lea eax, [ebp - 0x183c]
push 0x800
push eax
test esi, esi
push sym.Rockstar32.dll_Ordinal_101
setne byte [ebp - 0x18a1]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test esi, esi
jne 0x100019f2
push str..dll
lea eax, [ebp + eax*2 - 0x1848]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov dword [ebp - 0x1874], 0
lea ecx, [ebp - 0x183c]
mov dword [ebp - 0x1870], 7
mov word [ebp - 0x1884], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001a20
sub ecx, edx
lea eax, [ebp - 0x183c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1884]
call fcn.10002120
push 0x800
lea eax, [ebp - 0x83c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10007980
add esp, 0xc
lea eax, [ebp - 0x83c]
cmp byte [ebp - 0x18a1], 0
push 0x400
push eax
je 0x10001a8a
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x10001a90
push 0x400
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._rundll32.exe
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, eax
mov dword [ebp - 0x185c], 0
mov ecx, edx
mov dword [ebp - 0x1858], 7
xor eax, eax
mov word [ebp - 0x186c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001ac6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x186c]
call fcn.10002120
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x10018094
lea ecx, [ebp - 0x1854]
mov dword [ebp - 0x1844], 0
mov dword [ebp - 0x1840], 7
mov word [ebp - 0x1854], ax
call fcn.10002120
push 0x10018098
lea ecx, [ebp - 0x1854]
mov byte [ebp - 4], 2
call fcn.10002040
cmp dword [ebp - 0x1858], 8
lea edx, [ebp - 0x186c]
mov esi, dword [ebp - 0x1844]
cmovae edx, dword [ebp - 0x186c]
mov eax, dword [ebp - 0x1840]
mov ecx, dword [ebp - 0x185c]
sub eax, esi
mov dword [ebp - 0x18a0], esi
cmp ecx, eax
ja 0x10001b96
cmp dword [ebp - 0x1840], 8
lea edi, [esi + ecx]
lea eax, [ecx + ecx]
mov dword [ebp - 0x1844], edi
push eax
mov eax, dword [ebp - 0x18a0]
lea esi, [ebp - 0x1854]
cmovae esi, dword [ebp - 0x1854]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.10009200
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x10001bb1
push ecx
push edx
mov byte [ebp - 0x18a0], 0
push dword [ebp - 0x18a0]
push ecx
lea ecx, [ebp - 0x1854]
call fcn.10002260
push 0x1001809c
lea ecx, [ebp - 0x1854]
call fcn.10002040
cmp dword [ebp - 0x1870], 8
lea edx, [ebp - 0x1884]
mov esi, dword [ebp - 0x1844]
cmovae edx, dword [ebp - 0x1884]
mov eax, dword [ebp - 0x1840]
mov ecx, dword [ebp - 0x1874]
sub eax, esi
mov dword [ebp - 0x18a0], esi
cmp ecx, eax
ja 0x10001c2f
cmp dword [ebp - 0x1840], 8
lea edi, [esi + ecx]
lea eax, [ecx + ecx]
mov dword [ebp - 0x1844], edi
push eax
mov eax, dword [ebp - 0x18a0]
lea esi, [ebp - 0x1854]
cmovae esi, dword [ebp - 0x1854]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.10009200
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x10001c4a
push ecx
push edx
mov byte [ebp - 0x18a0], 0
push dword [ebp - 0x18a0]
push ecx
lea ecx, [ebp - 0x1854]
call fcn.10002260
push 0x100180a4
lea ecx, [ebp - 0x1854]
call fcn.10002040
lea ecx, [ebp - 0x12]
nop dword [eax]
mov eax, 0xcccccccd
sub ecx, 2
mul ebx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ebx, eax
add ebx, 0x30
mov word [ecx], bx
mov ebx, edx
test ebx, ebx
jne 0x10001c60
xor esi, esi
mov dword [ebp - 0x188c], edx
mov word [ebp - 0x189c], si
mov eax, 7
lea esi, [ebp - 0x12]
mov dword [ebp - 0x1888], eax
cmp ecx, esi
je 0x10001cc0
mov eax, esi
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x189c]
call fcn.10002120
mov edx, dword [ebp - 0x188c]
mov eax, dword [ebp - 0x1888]
cmp eax, 8
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x189c]
lea ecx, [ebp - 0x189c]
mov esi, dword [ebp - 0x1844]
cmovae ecx, ebx
mov eax, dword [ebp - 0x1840]
sub eax, esi
mov dword [ebp - 0x18a0], esi
cmp edx, eax
ja 0x10001d2a
cmp dword [ebp - 0x1840], 8
lea edi, [edx + esi]
lea eax, [edx + edx]
mov dword [ebp - 0x1844], edi
push eax
mov eax, dword [ebp - 0x18a0]
lea esi, [ebp - 0x1854]
cmovae esi, dword [ebp - 0x1854]
push ecx
lea eax, [esi + eax*2]
push eax
call fcn.10009200
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x10001d4b
push edx
push ecx
mov byte [ebp - 0x18a0], 0
lea ecx, [ebp - 0x1854]
push dword [ebp - 0x18a0]
push edx
call fcn.10002260
mov ebx, dword [ebp - 0x189c]
mov eax, dword [ebp - 0x1888]
cmp eax, 8
jb 0x10001d85
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x10001d7b
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001f1e
push ecx
push ebx
call fcn.10005d4f
add esp, 8
cmp dword [ebp - 0x1840], 8
lea ecx, [ebp - 0x18b4]
push ecx
lea ecx, [ebp - 0x18f8]
mov dword [ebp - 0x18f8], 0x44
push ecx
push 0
push 0
push 0
push 0
xorps xmm0, xmm0
lea eax, [ebp - 0x1854]
cmovae eax, dword [ebp - 0x1854]
push 0
push 0
push eax
push 0
movlpd qword [ebp - 0x18f4], xmm0
movlpd qword [ebp - 0x18ec], xmm0
movlpd qword [ebp - 0x18e4], xmm0
movlpd qword [ebp - 0x18dc], xmm0
movlpd qword [ebp - 0x18d4], xmm0
movlpd qword [ebp - 0x18cc], xmm0
movlpd qword [ebp - 0x18c4], xmm0
movlpd qword [ebp - 0x18bc], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
push dword [ebp - 0x18b4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x18b4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x18b0]
call esi
mov edx, dword [ebp - 0x1840]
cmp edx, 8
jb 0x10001e6d
mov ecx, dword [ebp - 0x1854]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001e63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001f23
push edx
push ecx
call fcn.10005d4f
add esp, 8
xor eax, eax
mov dword [ebp - 0x1844], 0
mov word [ebp - 0x1854], ax
mov eax, dword [ebp - 0x1858]
mov dword [ebp - 0x1840], 7
cmp eax, 8
jb 0x10001ec6
mov edx, dword [ebp - 0x186c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10001ebc
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001f28
push ecx
push edx
call fcn.10005d4f
add esp, 8
mov eax, dword [ebp - 0x1870]
cmp eax, 8
jb 0x10001f02
mov ecx, dword [ebp - 0x1884]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001ef8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001f2d
push edx
push ecx
call fcn.10005d4f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10005d0e
mov esp, ebp
pop ebp
ret
call fcn.10009ac9
call fcn.10009ac9
call fcn.10009ac9
call fcn.10009ac9
int3