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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10b8
call fcn.1008c330
mov eax, dword [0x100dbe80]
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.1008e0c0
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 0x10038b05
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.1002f1d0
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x1064]
push eax
lea eax, [ebp - 0x101c]
push eax
call fcn.1002e730
cmp dword [ebp - 0x1008], 7
lea eax, [ebp - 0x101c]
push edi
cmova eax, dword [ebp - 0x101c]
push 0x100bb118
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 0x10038c17
push 0x44
lea eax, [ebp - 0x10b8]
push 0
push eax
call fcn.1008e0c0
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 0x10038c19
xor bl, bl
mov ecx, dword [ebp - 0x1020]
cmp ecx, 7
jbe 0x10038c59
mov edx, dword [ebp - 0x1034]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038c4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038d7b
push ecx
push edx
call fcn.1008c2e7
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 0x10038cb6
mov edx, dword [ebp - 0x101c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038cac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038d7b
push ecx
push edx
call fcn.1008c2e7
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 0x10038d0f
mov edx, dword [ebp - 0x104c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038d05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038d7b
push ecx
push edx
call fcn.1008c2e7
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 0x10038d68
mov edx, dword [ebp - 0x1064]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038d5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038d7b
push ecx
push edx
call fcn.1008c2e7
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008c2f5
mov esp, ebp
pop ebp
ret
call fcn.100917bf
int3