Function at 0x10087a80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x103680b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [0x10374b50], eax
mov ecx, dword [ebp + 8]
mov dword [0x10374b48], ecx
mov edx, dword [ebp + 0xc]
mov dword [0x10374e34], edx
mov eax, dword [ebp + 0x14]
mov dword [0x10374e38], eax
mov ecx, dword [ebp + 0x10]
mov dword [0x10374e30], ecx
push 0x200
push 0
lea edx, [ebp - 0x204]
push edx
call fcn.1026c0f0
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call fcn.10084350
call fcn.10084410
mov dword [ebp - 0x260], eax
lea ecx, [ebp - 0x284]
push ecx
call fcn.10084080
push 0
push 0
push 0
mov edx, dword [ebp - 0x260]
push edx
lea ecx, [ebp - 0x294]
call fcn.10083fe0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x284]
call fcn.100840c0
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x28c]
call fcn.10084190
lea edx, [ebp - 0x204]
push edx
lea ecx, [ebp - 0x25c]
call fcn.100898d0
push 0x103216fc
lea ecx, [ebp - 0x25c]
call fcn.100897d0
lea ecx, [ebp - 0x258]
call fcn.10089970
lea ecx, [ebp - 0x26c]
call fcn.1008d2b0
lea ecx, [ebp - 0x25c]
call fcn.10049320
push eax
push 0x10321720
lea ecx, [ebp - 0x26c]
call fcn.1008d6e0
lea ecx, [ebp - 0x254]
call fcn.10087710
push 0x10321754
lea ecx, [ebp - 0x254]
call fcn.10051330
push 0x10321760
lea ecx, [ebp - 0x23c]
call fcn.10089870
push str.FLiNGTrainer.exe
lea ecx, [ebp - 0x238]
call fcn.10089870
push 0x103217b8
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x26c]
call fcn.1008dec0
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.10089630
add esp, 0xc
push eax
lea ecx, [ebp - 0x258]
call fcn.10089890
lea ecx, [ebp - 0x270]
call fcn.100898b0
lea ecx, [ebp - 0x274]
call fcn.100898b0
push 0x103217ec
lea ecx, [ebp - 0x258]
call fcn.100897d0
lea ecx, [ebp - 0x258]
call fcn.10049320
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10087c85
lea ecx, [ebp - 0x26c]
call fcn.1008df30
test eax, eax
je 0x10087c5e
lea ecx, [ebp - 0x258]
call fcn.10049320
push eax
lea ecx, [ebp - 0x26c]
call fcn.1008dfc0
cmp dword [ebp - 0x260], 0
jle 0x10087c85
lea ecx, [ebp - 0x258]
call fcn.10049320
push eax
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x26c]
call fcn.1008e140
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x25c]
call fcn.100897f0
push 0x103217f8
lea ecx, [ebp - 0x25c]
call fcn.100897d0
lea ecx, [ebp - 0x25c]
call fcn.10049320
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10087ddf
lea ecx, [ebp - 0x25c]
call fcn.10049320
push eax
push 0x10321810
lea ecx, [ebp - 0x26c]
call fcn.1008d6e0
lea ecx, [ebp - 0x234]
call fcn.10087710
push str.programlink
lea ecx, [ebp - 0x234]
call fcn.10051330
push 0x1032183c
lea ecx, [ebp - 0x21c]
call fcn.10089870
push str.uninst.exe
lea ecx, [ebp - 0x218]
call fcn.10089870
push 0x10321874
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.1008dec0
push eax
lea edx, [ebp - 0x278]
push edx
call fcn.10089630
add esp, 0xc
push eax
lea ecx, [ebp - 0x258]
call fcn.10089890
lea ecx, [ebp - 0x278]
call fcn.100898b0
lea ecx, [ebp - 0x27c]
call fcn.100898b0
push 0x10321894
lea ecx, [ebp - 0x258]
call fcn.100897d0
lea ecx, [ebp - 0x258]
call fcn.10049320
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10087dd4
lea ecx, [ebp - 0x26c]
call fcn.1008df30
test eax, eax
je 0x10087dad
lea ecx, [ebp - 0x258]
call fcn.10049320
push eax
lea ecx, [ebp - 0x26c]
call fcn.1008dfc0
cmp dword [ebp - 0x260], 0
jle 0x10087dd4
lea ecx, [ebp - 0x258]
call fcn.10049320
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x26c]
call fcn.1008e140
lea ecx, [ebp - 0x234]
call fcn.10087740
lea ecx, [ebp - 0x254]
call fcn.10087740
lea ecx, [ebp - 0x26c]
call fcn.1008d330
lea ecx, [ebp - 0x258]
call fcn.100898b0
lea ecx, [ebp - 0x25c]
call fcn.100898b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ff9df
mov esp, ebp
pop ebp
ret