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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10b8
call fcn.1008c5a0
mov eax, dword [0x100dcd80]
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.1008e490
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 0x10038d85
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1064]
call fcn.10007450
lea eax, [ebp - 0x104c]
push 5
push eax
call fcn.1002f4a0
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x1064]
push eax
lea eax, [ebp - 0x101c]
push eax
call fcn.1002ea00
cmp dword [ebp - 0x1008], 7
lea eax, [ebp - 0x101c]
push edi
cmova eax, dword [ebp - 0x101c]
push 0x100bc138
push ebx
push str._u__d
push eax
lea eax, [ebp - 0x1034]
push str.__s___s__d__s___s_
push eax
call fcn.1000e5c0
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 0x10038e97
push 0x44
lea eax, [ebp - 0x10b8]
push 0
push eax
call fcn.1008e490
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 0x10038e99
xor bl, bl
mov ecx, dword [ebp - 0x1020]
cmp ecx, 7
jbe 0x10038ed9
mov edx, dword [ebp - 0x1034]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038ecf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ffb
push ecx
push edx
call fcn.1008c554
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 0x10038f36
mov edx, dword [ebp - 0x101c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038f2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ffb
push ecx
push edx
call fcn.1008c554
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 0x10038f8f
mov edx, dword [ebp - 0x104c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038f85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ffb
push ecx
push edx
call fcn.1008c554
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 0x10038fe8
mov edx, dword [ebp - 0x1064]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038fde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ffb
push ecx
push edx
call fcn.1008c554
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008c562
mov esp, ebp
pop ebp
ret
call fcn.10091b9f
int3