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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
mov eax, dword [0x1035dd3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [0x103611f4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
mov dword [0x103611fc], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [0x1036120c], eax
mov eax, dword [ebp + 0x10]
push 0x104
mov dword [0x10361214], eax
lea eax, [ebp - 0x138]
push 0
push eax
mov dword [0x10361210], esi
call fcn.102629f0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x100d65d8
mov edi, dword [esi]
test edi, edi
je 0x100d65d2
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x138]
push eax
call ebx
mov eax, dword [0x10361210]
mov ecx, dword [edi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [eax], ecx
call edi
mov esi, dword [0x10361210]
jmp 0x100d65d8
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x104
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.102629f0
add esp, 0xc
test esi, esi
je 0x100d6611
mov esi, dword [esi]
test esi, esi
je 0x100d6611
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x23c]
push eax
call ebx
mov eax, dword [0x10361210]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call edi
call fcn.100d2560
mov ebx, eax
call fcn.100d2560
mov edi, eax
lea eax, [ebp - 7]
test edi, edi
jns 0x100d663a
mov ecx, edi
neg ecx
push ecx
push eax
call fcn.100bc160
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x100d6643
push edi
push eax
call fcn.100bc160
mov ecx, eax
lea edx, [ebp - 7]
mov dword [ebp - 0x25c], 0
add esp, 8
mov byte [ebp - 0x26c], 0
mov eax, 0xf
mov dword [ebp - 0x258], eax
cmp ecx, edx
je 0x100d6680
mov eax, edx
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x26c]
call fcn.100b8260
mov eax, dword [ebp - 0x258]
cmp eax, 0x10
lea ecx, [ebp - 0x26c]
cmovae ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x2a4], ecx
test ebx, ebx
jns 0x100d66b1
mov eax, ebx
neg eax
push eax
lea eax, [ebp - 0x1f]
push eax
call fcn.100bc160
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x100d66bd
lea eax, [ebp - 0x1f]
push ebx
push eax
call fcn.100bc160
mov ecx, eax
lea edx, [ebp - 0x1f]
mov dword [ebp - 0x244], 0
add esp, 8
mov byte [ebp - 0x254], 0
mov eax, 0xf
mov dword [ebp - 0x240], eax
cmp ecx, edx
je 0x100d66fa
mov eax, edx
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x254]
call fcn.100b8260
mov eax, dword [ebp - 0x240]
cmp eax, 0x10
mov dword [ebp - 0x290], 0
push 0x12
lea esi, [ebp - 0x254]
mov dword [ebp - 0x28c], 0xf
cmovae esi, dword [ebp - 0x254]
lea ecx, [ebp - 0x2a0]
push 0x1029b9fc
mov byte [ebp - 0x2a0], 0
call fcn.100b8260
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
mov dword [ebp - 0x270], 0
call fcn.100e7a50
push 0x58
push 0x1029b5d4
push str.C:gitlab_builds_aCoD4X3k0_flowproductsgamemodifier_nsispackage_srcinstall_nsdui.cpp
push str.info
call fcn.100e75d0
push dword [ebp - 0x2a4]
lea eax, [ebp - 0x23c]
push esi
push eax
lea eax, [ebp - 0x138]
push eax
push 0x1029b9fc
push str.begin_execute__s__s___s___s___s_
call fcn.100e7920
add esp, 0x28
call fcn.100e7a10
mov edx, dword [ebp - 0x240]
cmp edx, 0x10
jb 0x100d67dd
mov ecx, dword [ebp - 0x254]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d67d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d6973
push edx
push ecx
call fcn.1025fbc4
add esp, 8
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0xf
mov byte [ebp - 0x254], 0
cmp edx, 0x10
jb 0x100d6832
mov ecx, dword [ebp - 0x26c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d6828
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d6973
push edx
push ecx
call fcn.1025fbc4
add esp, 8
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100d687f
call fcn.100e7a70
push 0x25c
push 0x1029b9fc
push str.C:gitlab_builds_aCoD4X3k0_flowproductsgamemodifier_nsispackage_srcinstall_nsdui.cpp
push str.warning
call fcn.100e75d0
lea eax, [ebp - 0x138]
push eax
push str.file_path:__s_not_exists
call fcn.100e7920
add esp, 0x18
call fcn.100e7a10
jmp 0x100d6957
lea eax, [ebp - 0x138]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d0], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x23c]
movlpd qword [ebp - 0x2c0], xmm0
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x2e0]
push eax
movlpd qword [ebp - 0x2b8], xmm0
movlpd qword [ebp - 0x2b0], xmm0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2e0], 0x3c
mov dword [ebp - 0x2dc], 0x40
mov dword [ebp - 0x2d4], str.open
mov dword [ebp - 0x2c8], 0x10329ca3
mov dword [ebp - 0x2c4], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
setne bl
test eax, eax
jne 0x100d6941
call fcn.100e7a30
push 0x26d
push 0x1029b9fc
push str.C:gitlab_builds_aCoD4X3k0_flowproductsgamemodifier_nsispackage_srcinstall_nsdui.cpp
push str.error
call fcn.100e75d0
lea eax, [ebp - 0x138]
push eax
push str.execute_file_path:__s
call fcn.100e7920
add esp, 0x18
call fcn.100e7a10
test bl, bl
je 0x100d6957
test edi, edi
je 0x100d6957
push 0xffffffffffffffff
push dword [ebp - 0x2a8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x2a0]
call fcn.100c3bf0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102601ec
mov esp, ebp
pop ebp
ret
call fcn.10265f3a
int3