Function at 0x100d4b60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5d0
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]
mov dword [0x103611fc], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov dword [0x1036120c], eax
mov eax, dword [ebp + 0x10]
push 0x200
mov dword [0x10361214], eax
lea eax, [ebp - 0x308]
push 0
push eax
mov dword [0x10361210], esi
call fcn.102629f0
add esp, 0xc
test esi, esi
je 0x100d4bde
mov esi, dword [esi]
test esi, esi
je 0x100d4bde
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x308]
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 ebx
push edi
call fcn.100d2560
mov ebx, eax
lea eax, [ebp - 0x533]
test ebx, ebx
jns 0x100d4c05
mov ecx, ebx
neg ecx
push ecx
push eax
call fcn.100bc160
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x100d4c0e
push ebx
push eax
call fcn.100bc160
mov ecx, eax
lea edx, [ebp - 0x533]
mov dword [ebp - 0x518], 0
add esp, 8
mov byte [ebp - 0x528], 0
mov eax, 0xf
mov dword [ebp - 0x514], eax
cmp ecx, edx
je 0x100d4c4e
mov eax, edx
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x528]
call fcn.100b8260
mov eax, dword [ebp - 0x514]
cmp eax, 0x10
mov dword [ebp - 0x5a0], 0
push 0x11
lea esi, [ebp - 0x528]
mov dword [ebp - 0x59c], 0xf
cmovae esi, dword [ebp - 0x528]
lea ecx, [ebp - 0x5b0]
push 0x1029bce8
mov byte [ebp - 0x5b0], 0
call fcn.100b8260
mov dword [ebp - 0x588], 0
mov dword [ebp - 0x584], 0xf
mov byte [ebp - 0x598], 0
mov dword [ebp - 0x580], 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 - 0x308]
push eax
push 0x1029bce8
push str.begin_execute__s__s___s_
call fcn.100e7920
add esp, 0x20
call fcn.100e7a10
mov edx, dword [ebp - 0x514]
cmp edx, 0x10
jb 0x100d4d24
mov ecx, dword [ebp - 0x528]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d4d1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d5307
push edx
push ecx
call fcn.1025fbc4
add esp, 8
push 0
call fcn.102734a5
add esp, 4
mov esi, eax
mov ecx, 0x18
mov edi, edx
mov eax, ebx
imul ecx
push 0
push 0xe10
push edx
push eax
call fcn.102607d0
sub esi, eax
lea eax, [ebp - 0x5d0]
push eax
lea eax, [ebp - 0x57c]
mov dword [ebp - 0x5d0], esi
sbb edi, edx
push eax
mov dword [ebp - 0x5cc], edi
call fcn.1027349a
add esp, 8
test eax, eax
jne 0x100d4de2
mov eax, dword [ebp - 0x568]
add eax, 0x76c
mov word [ebp - 0x558], ax
mov eax, dword [ebp - 0x56c]
inc eax
mov word [ebp - 0x556], ax
movzx eax, word [ebp - 0x564]
mov word [ebp - 0x554], ax
movzx eax, word [ebp - 0x570]
mov word [ebp - 0x552], ax
movzx eax, word [ebp - 0x574]
mov word [ebp - 0x550], ax
movzx eax, word [ebp - 0x578]
mov word [ebp - 0x54e], ax
movzx eax, word [ebp - 0x57c]
mov word [ebp - 0x54c], ax
xor eax, eax
mov word [ebp - 0x54a], ax
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.102629f0
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.1026c608
add esp, 0x18
lea eax, [ebp - 0x108]
push str.FLiNGTrainer.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
call fcn.100c6b40
mov ecx, eax
test ecx, ecx
je 0x100d530c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x5c8]
mov dword [ebp - 0x5b4], eax
call fcn.100f2df0
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x518], 0
mov dword [ebp - 0x514], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x528], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d4e70
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
push eax
lea ecx, [ebp - 0x528]
call fcn.100b8260
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x548]
push eax
call fcn.100e2110
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x100d4eaa
mov eax, dword [eax]
push eax
push 0x1029bcfc
lea ecx, [ebp - 0x5c8]
call fcn.100f31c0
mov edx, dword [ebp - 0x534]
cmp edx, 8
jb 0x100d4efb
mov ecx, dword [ebp - 0x548]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d4ef1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d5316
push edx
push ecx
call fcn.1025fbc4
add esp, 8
mov edx, dword [ebp - 0x514]
xor eax, eax
mov dword [ebp - 0x538], 0
mov dword [ebp - 0x534], 7
mov word [ebp - 0x548], ax
cmp edx, 0x10
jb 0x100d4f52
mov ecx, dword [ebp - 0x528]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d4f48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d5316
push edx
push ecx
call fcn.1025fbc4
add esp, 8
lea ecx, [ebp - 0x578]
call fcn.100c2090
push 0xb
push str.programlink
lea ecx, [ebp - 0x578]
call fcn.100b8260
push 0xf
push 0x1029bcfc
lea ecx, [ebp - 0x560]
call fcn.100c7180
push str.FLiNGTrainer.exe
lea ecx, [ebp - 0x55c]
call fcn.100c4320
push 0x1029bcfc
lea eax, [ebp - 0x5bc]
push eax
lea ecx, [ebp - 0x5c8]
call fcn.100f4420
push eax
lea eax, [ebp - 0x5b8]
push eax
call fcn.100c4820
add esp, 0xc
lea ecx, [ebp - 0x5b4]
push eax
call fcn.100c42b0
mov edx, dword [ebp - 0x5b8]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100d4fe4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5bc]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100d5001
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str..lnk
lea ecx, [ebp - 0x5b4]
call fcn.100c4e90
mov esi, dword [ebp - 0x5b4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100d5054
lea ecx, [ebp - 0x5c8]
call fcn.100f4730
test eax, eax
je 0x100d503d
push esi
lea ecx, [ebp - 0x5c8]
call fcn.100f4820
test ebx, ebx
jle 0x100d5054
push esi
lea eax, [ebp - 0x558]
push eax
lea ecx, [ebp - 0x5c8]
call fcn.100f4980
push 0x208
lea eax, [ebp - 0x510]
push 0
push eax
call fcn.102629f0
lea ecx, [ebp - 0x308]
mov dword [ebp - 0x518], 0
add esp, 0xc
mov dword [ebp - 0x514], 0xf
mov byte [ebp - 0x528], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d5090
sub ecx, edx
lea eax, [ebp - 0x308]
push ecx
push eax
lea ecx, [ebp - 0x528]
call fcn.100b8260
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x548]
push eax
call fcn.100e2110
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x100d50ca
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x510]
push 0x104
push eax
call fcn.1026c2d2
mov edx, dword [ebp - 0x534]
add esp, 0xc
cmp edx, 8
jb 0x100d511f
mov ecx, dword [ebp - 0x548]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d5115
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d531b
push edx
push ecx
call fcn.1025fbc4
add esp, 8
mov edx, dword [ebp - 0x514]
xor eax, eax
mov dword [ebp - 0x538], 0
mov dword [ebp - 0x534], 7
mov word [ebp - 0x548], ax
cmp edx, 0x10
jb 0x100d5176
mov ecx, dword [ebp - 0x528]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d516c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d531b
push edx
push ecx
call fcn.1025fbc4
add esp, 8
push str.uninst.exe
lea eax, [ebp - 0x510]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x510]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100d52c0
lea eax, [ebp - 0x510]
push eax
push str.up_bgq_
lea ecx, [ebp - 0x5c8]
call fcn.100f31c0
lea ecx, [ebp - 0x530]
call fcn.100c2090
push 0xb
push str.programlink
lea ecx, [ebp - 0x530]
call fcn.100b8260
push 0xa
push str.up_bgq_
lea ecx, [ebp - 0x518]
call fcn.100c7180
push 0xa
push str.uninst.exe
lea ecx, [ebp - 0x514]
call fcn.100c7180
push str.up_bgq_
lea eax, [ebp - 0x5b8]
push eax
lea ecx, [ebp - 0x5c8]
call fcn.100f4420
push eax
lea eax, [ebp - 0x5bc]
push eax
call fcn.100c4820
add esp, 0xc
lea ecx, [ebp - 0x5b4]
push eax
call fcn.100c42b0
mov edx, dword [ebp - 0x5bc]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100d5245
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5b8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100d5262
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str..lnk
lea ecx, [ebp - 0x5b4]
call fcn.100c4e90
mov esi, dword [ebp - 0x5b4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100d52b5
lea ecx, [ebp - 0x5c8]
call fcn.100f4730
test eax, eax
je 0x100d529e
push esi
lea ecx, [ebp - 0x5c8]
call fcn.100f4820
test ebx, ebx
jle 0x100d52b5
push esi
lea eax, [ebp - 0x558]
push eax
lea ecx, [ebp - 0x5c8]
call fcn.100f4980
lea ecx, [ebp - 0x530]
call fcn.100c3d80
lea ecx, [ebp - 0x578]
call fcn.100c3d80
lea ecx, [ebp - 0x5c8]
call fcn.100f2eb0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
pop edi
pop ebx
jg 0x100d52ed
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x5b0]
call fcn.100c3bf0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.102601ec
mov esp, ebp
pop ebp
ret
call fcn.10265f3a
push 0x80004005
call fcn.100c61c0
call fcn.10265f3a
call fcn.10265f3a
int3