Function at 0x10038b50
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10b8
call fcn.1008c410
mov eax, dword [0x100dcbc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x1000
mov ebx, eax
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.1008e1a0
add esp, 0xc
lea eax, [ebp - 0x1004]
push 0x800
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, esi
mov dword [ebp - 0x1054], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1050], 0
movups xmmword [ebp - 0x1064], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10038bc5
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1064]
call fcn.10007490
lea eax, [ebp - 0x104c]
push 5
push eax
call fcn.1002f500
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x1064]
push eax
lea eax, [ebp - 0x101c]
push eax
call fcn.1002ea60
cmp dword [ebp - 0x1008], 7
lea eax, [ebp - 0x101c]
push edi
cmova eax, dword [ebp - 0x101c]
push 0x100bc148
push ebx
push str._u__d
push eax
lea eax, [ebp - 0x1034]
push str.__s___s__d__s___s_
push eax
call fcn.1000e620
add esp, 0x30
lea eax, [ebp - 0x101c]
cmp dword [ebp - 0x1008], 7
cmova eax, dword [ebp - 0x101c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10038cd7
push 0x44
lea eax, [ebp - 0x10b8]
push 0
push eax
call fcn.1008e1a0
add esp, 0xc
lea edx, [ebp - 0x1074]
cmp dword [ebp - 0x1020], 7
lea ecx, [ebp - 0x1034]
lea eax, [ebp - 0x101c]
cmova ecx, dword [ebp - 0x1034]
cmp dword [ebp - 0x1008], 7
push edx
cmova eax, dword [ebp - 0x101c]
lea edx, [ebp - 0x10b8]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x1070]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne bl
call esi
push dword [ebp - 0x1074]
call esi
jmp 0x10038cd9
xor bl, bl
mov ecx, dword [ebp - 0x1020]
cmp ecx, 7
jbe 0x10038d19
mov edx, dword [ebp - 0x1034]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038d0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e3b
push ecx
push edx
call fcn.1008c3c5
add esp, 8
mov ecx, dword [ebp - 0x1008]
xor eax, eax
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 7
mov word [ebp - 0x1034], ax
cmp ecx, 7
jbe 0x10038d76
mov edx, dword [ebp - 0x101c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038d6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e3b
push ecx
push edx
call fcn.1008c3c5
add esp, 8
mov ecx, dword [ebp - 0x1038]
xor eax, eax
mov dword [ebp - 0x100c], 0
mov dword [ebp - 0x1008], 7
mov word [ebp - 0x101c], ax
cmp ecx, 7
jbe 0x10038dcf
mov edx, dword [ebp - 0x104c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038dc5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e3b
push ecx
push edx
call fcn.1008c3c5
add esp, 8
mov ecx, dword [ebp - 0x1050]
xor eax, eax
mov dword [ebp - 0x103c], 0
mov dword [ebp - 0x1038], 7
mov word [ebp - 0x104c], ax
cmp ecx, 7
jbe 0x10038e28
mov edx, dword [ebp - 0x1064]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038e1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e3b
push ecx
push edx
call fcn.1008c3c5
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008c3d3
mov esp, ebp
pop ebp
ret
call fcn.1009189f
int3