Function at 0x100d5330
Capabilities:
Check if file exists
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xff8
mov eax, dword [0x1035dd3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
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 - 0x224]
push 0
push eax
mov dword [0x10361210], esi
call fcn.102629f0
add esp, 0xc
test esi, esi
je 0x100d53af
mov esi, dword [esi]
test esi, esi
je 0x100d53af
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x10361210]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x104
lea eax, [ebp - 0x328]
push 0
push eax
call fcn.102629f0
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x328]
push 0x104
push eax
call fcn.1026c608
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x328]
add esp, 0x18
push str.syspin.exe
push eax
call esi
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.102629f0
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x120]
push 0x104
push eax
call fcn.1026c608
add esp, 0x18
lea eax, [ebp - 0x120]
push str.FLiNGTrainer.exe
push eax
call esi
call fcn.100d2560
mov edi, eax
lea eax, [ebp - 7]
test edi, edi
jns 0x100d544f
mov ecx, edi
neg ecx
push ecx
push eax
call fcn.100bc160
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x100d5458
push edi
push eax
call fcn.100bc160
mov ecx, eax
lea edx, [ebp - 7]
mov dword [ebp - 0xf30], 0
add esp, 8
mov byte [ebp - 0xf40], 0
mov eax, 0xf
mov dword [ebp - 0xf2c], eax
cmp ecx, edx
je 0x100d5495
mov eax, edx
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0xf40]
call fcn.100b8260
mov eax, dword [ebp - 0xf2c]
cmp eax, 0x10
mov dword [ebp - 0xf7c], 0
push 0x11
lea esi, [ebp - 0xf40]
mov dword [ebp - 0xf78], 0xf
cmovae esi, dword [ebp - 0xf40]
lea ecx, [ebp - 0xf8c]
push 0x1029bb6c
mov byte [ebp - 0xf8c], 0
call fcn.100b8260
mov dword [ebp - 0xf64], 0
mov dword [ebp - 0xf60], 0xf
mov byte [ebp - 0xf74], 0
mov dword [ebp - 0xf5c], 0
call fcn.100e7a50
push 0x4f
push 0x1029b5d4
push str.C:gitlab_builds_aCoD4X3k0_flowproductsgamemodifier_nsispackage_srcinstall_nsdui.cpp
push str.info
call fcn.100e75d0
push esi
lea eax, [ebp - 0x224]
push eax
push 0x1029bb6c
push str.begin_execute__s__s___s_
call fcn.100e7920
add esp, 0x20
call fcn.100e7a10
mov edx, dword [ebp - 0xf2c]
cmp edx, 0x10
jb 0x100d556b
mov ecx, dword [ebp - 0xf40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d5561
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d589d
push edx
push ecx
call fcn.1025fbc4
add esp, 8
call fcn.100eeb40
test eax, eax
jne 0x100d57b9
lea ecx, [ebp - 0x14]
call fcn.100f2df0
cmp edi, 1
jne 0x100d5684
lea ecx, [ebp - 0x120]
mov dword [ebp - 0xf48], 0
mov dword [ebp - 0xf44], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0xf58], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d55b0
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0xf58]
call fcn.100b8260
push 0xe
push 0x1029b7c4
lea ecx, [ebp - 0xf40]
mov dword [ebp - 0xf30], 0
mov dword [ebp - 0xf2c], 0xf
mov byte [ebp - 0xf40], 0
call fcn.100b8260
lea eax, [ebp - 0xf58]
push eax
lea eax, [ebp - 0xfbc]
push eax
call fcn.100e2110
mov esi, eax
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x100d5619
mov esi, dword [esi]
lea eax, [ebp - 0xf40]
push eax
lea eax, [ebp - 0xfa4]
push eax
call fcn.100e2110
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x100d5637
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push 0
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.100f37e0
lea ecx, [ebp - 0xfa4]
call fcn.100b7230
lea ecx, [ebp - 0xfbc]
call fcn.100b7230
lea ecx, [ebp - 0xf40]
call fcn.100b7be0
lea ecx, [ebp - 0xf58]
call fcn.100b7be0
lea ecx, [ebp - 0x14]
call fcn.100f2eb0
jmp 0x100d5882
push 0x800
lea eax, [ebp - 0xf28]
push 0
push eax
call fcn.102629f0
add esp, 0xc
lea eax, [ebp - 0xf28]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0xf28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0xf30], 0
mov dword [ebp - 0xf2c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0xf40], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d56e0
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0xf40]
call fcn.100b8260
push 0xe
push 0x1029b7c4
lea ecx, [ebp - 0xf58]
mov dword [ebp - 0xf48], 0
mov dword [ebp - 0xf44], 0xf
mov byte [ebp - 0xf58], 0
call fcn.100b8260
lea eax, [ebp - 0xf40]
push eax
lea eax, [ebp - 0xfa4]
push eax
call fcn.100e2110
mov esi, eax
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x100d5749
mov esi, dword [esi]
lea eax, [ebp - 0xf58]
push eax
lea eax, [ebp - 0xfbc]
push eax
call fcn.100e2110
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x100d5767
mov eax, dword [eax]
lea ecx, [ebp - 0xf28]
push ecx
push 0
push 0
push 0
push 0
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.100f37e0
lea ecx, [ebp - 0xfbc]
call fcn.100b7230
lea ecx, [ebp - 0xfa4]
call fcn.100b7230
lea ecx, [ebp - 0xf58]
call fcn.100b7be0
lea ecx, [ebp - 0xf40]
call fcn.100b7be0
lea ecx, [ebp - 0x14]
call fcn.100f2eb0
jmp 0x100d5882
push 0x400
lea eax, [ebp - 0x728]
push 0
push eax
call fcn.102629f0
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x728]
push str.__s__5386
push eax
call fcn.100c06e0
add esp, 0x18
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x100d5882
lea eax, [ebp - 0x328]
mov dword [ebp - 0xff0], 0
mov dword [ebp - 0xfe8], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x728]
movlpd qword [ebp - 0xfd8], xmm0
mov dword [ebp - 0xfe4], eax
lea eax, [ebp - 0xff8]
push eax
movlpd qword [ebp - 0xfd0], xmm0
movlpd qword [ebp - 0xfc8], xmm0
mov dword [ebp - 0xfc0], 0
mov dword [ebp - 0xff8], 0x3c
mov dword [ebp - 0xff4], 0x40
mov dword [ebp - 0xfec], str.open
mov dword [ebp - 0xfe0], 0x10329ca3
mov dword [ebp - 0xfdc], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ecx, [ebp - 0xf8c]
call fcn.100c3bf0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.102601ec
mov esp, ebp
pop ebp
ret
call fcn.10265f3a
int3