Function at 0x100d4370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4fc
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 0x200
mov dword [0x10361214], eax
lea eax, [ebp - 0x404]
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 0x100d4408
mov edi, dword [esi]
test edi, edi
je 0x100d4402
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x404]
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 0x100d4408
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.102629f0
add esp, 0xc
test esi, esi
je 0x100d4441
mov esi, dword [esi]
test esi, esi
je 0x100d4441
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x204]
push eax
call ebx
mov eax, dword [0x10361210]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call edi
call fcn.100d2560
mov dword [ebp - 0x4e8], eax
test eax, eax
jns 0x100d446a
mov ecx, eax
lea eax, [ebp - 0x407]
neg ecx
push ecx
push eax
call fcn.100bc160
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x100d4479
push eax
lea eax, [ebp - 0x407]
push eax
call fcn.100bc160
mov ecx, eax
lea edx, [ebp - 0x407]
mov dword [ebp - 0x424], 0
add esp, 8
mov byte [ebp - 0x434], 0
mov eax, 0xf
mov dword [ebp - 0x420], eax
cmp ecx, edx
je 0x100d44b9
mov eax, edx
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x434]
call fcn.100b8260
mov eax, dword [ebp - 0x420]
cmp eax, 0x10
mov dword [ebp - 0x4cc], 0
push 0x15
lea esi, [ebp - 0x434]
mov dword [ebp - 0x4c8], 0xf
cmovae esi, dword [ebp - 0x434]
lea ecx, [ebp - 0x4dc]
push 0x1029bb1c
mov byte [ebp - 0x4dc], 0
call fcn.100b8260
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4b0], 0xf
mov byte [ebp - 0x4c4], 0
mov dword [ebp - 0x4ac], 0
call fcn.100e7a50
push 0x53
push 0x1029b5d4
push str.C:gitlab_builds_aCoD4X3k0_flowproductsgamemodifier_nsispackage_srcinstall_nsdui.cpp
push str.info
call fcn.100e75d0
push esi
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push eax
push 0x1029bb1c
push str.begin_execute__s__s___s___s_
call fcn.100e7920
add esp, 0x24
call fcn.100e7a10
mov edx, dword [ebp - 0x420]
cmp edx, 0x10
jb 0x100d4596
mov ecx, dword [ebp - 0x434]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d458c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d4b51
push edx
push ecx
call fcn.1025fbc4
add esp, 8
lea ecx, [ebp - 0x4fc]
call fcn.100f2df0
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x490], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d45c5
sub ecx, edx
lea eax, [ebp - 0x204]
push ecx
push eax
lea ecx, [ebp - 0x490]
call fcn.100b8260
lea ecx, [ebp - 0x404]
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x434], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d4605
sub ecx, edx
lea eax, [ebp - 0x404]
push ecx
push eax
lea ecx, [ebp - 0x434]
call fcn.100b8260
push 0xe
push 0x1029b7c4
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 0xf
mov byte [ebp - 0x41c], 0
call fcn.100b8260
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x470]
push eax
call fcn.100e2110
mov edi, eax
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x100d466e
mov edi, dword [edi]
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.100e2110
mov esi, eax
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x100d468e
mov esi, dword [esi]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x4a8]
push eax
call fcn.100e2110
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x100d46ac
mov eax, dword [eax]
push 0
push 0
push 0
push edi
push 0
push esi
push eax
lea ecx, [ebp - 0x4fc]
call fcn.100f2f40
mov edx, dword [ebp - 0x494]
cmp edx, 8
jb 0x100d4702
mov ecx, dword [ebp - 0x4a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d46f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d4b56
push edx
push ecx
call fcn.1025fbc4
add esp, 8
mov edx, dword [ebp - 0x438]
xor eax, eax
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 7
mov word [ebp - 0x4a8], ax
cmp edx, 8
jb 0x100d475f
mov ecx, dword [ebp - 0x44c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d4755
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d4b56
push edx
push ecx
call fcn.1025fbc4
add esp, 8
mov edx, dword [ebp - 0x45c]
xor eax, eax
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 7
mov word [ebp - 0x44c], ax
cmp edx, 8
jb 0x100d47bc
mov ecx, dword [ebp - 0x470]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d47b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d4b56
push edx
push ecx
call fcn.1025fbc4
add esp, 8
mov edx, dword [ebp - 0x408]
xor eax, eax
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 7
mov word [ebp - 0x470], ax
cmp edx, 0x10
jb 0x100d4813
mov ecx, dword [ebp - 0x41c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d4809
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d4b56
push edx
push ecx
call fcn.1025fbc4
add esp, 8
mov edx, dword [ebp - 0x420]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 0xf
mov byte [ebp - 0x41c], 0
cmp edx, 0x10
jb 0x100d4868
mov ecx, dword [ebp - 0x434]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d485e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d4b56
push edx
push ecx
call fcn.1025fbc4
add esp, 8
mov edx, dword [ebp - 0x47c]
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0xf
mov byte [ebp - 0x434], 0
cmp edx, 0x10
jb 0x100d48bd
mov ecx, dword [ebp - 0x490]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d48b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d4b56
push edx
push ecx
call fcn.1025fbc4
add esp, 8
lea ecx, [ebp - 0x478]
call fcn.100c2090
push 8
push str.desklink
lea ecx, [ebp - 0x478]
call fcn.100b8260
push 0x1029b7c4
lea ecx, [ebp - 0x460]
call fcn.100c4320
push str.FLiNGTrainer.exe
lea ecx, [ebp - 0x45c]
call fcn.100c4320
call fcn.100c6b40
test eax, eax
je 0x100d4b47
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x4e0]
push 0x1029b7c4
mov dword [ebp - 0x4e0], eax
call fcn.100c61e0
test al, al
jne 0x100d493b
push 0x1029b7c4
lea ecx, [ebp - 0x4e0]
call fcn.100c4320
lea eax, [ebp - 0x4ec]
push eax
lea ecx, [ebp - 0x4fc]
call fcn.100f42c0
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x100d4961
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
jne 0x100d4975
call fcn.100c6b40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x100d4b47
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x4e4], eax
mov eax, dword [esi]
mov esi, dword [ebp - 0x4e0]
push dword [esi - 0xc]
push esi
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x4e4]
push eax
call fcn.100c6380
mov edx, dword [ebp - 0x4ec]
or ebx, 0xffffffff
add esp, 0x14
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100d49c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100d49db
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push str..lnk
lea ecx, [ebp - 0x4e4]
call fcn.100c4e90
mov esi, dword [ebp - 0x4e4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100d4b00
lea ecx, [ebp - 0x4fc]
call fcn.100f4730
test eax, eax
je 0x100d4a1b
push esi
lea ecx, [ebp - 0x4fc]
call fcn.100f4820
cmp dword [ebp - 0x4e8], 0
jle 0x100d4b00
push 0
call fcn.102734a5
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x4e8]
mov ecx, 0x18
mov ebx, edx
imul ecx
push 0
push 0xe10
push edx
push eax
call fcn.102607d0
sub edi, eax
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x458]
mov dword [ebp - 0x4f0], edi
sbb ebx, edx
push eax
mov dword [ebp - 0x4ec], ebx
call fcn.1027349a
add esp, 8
test eax, eax
jne 0x100d4aea
mov eax, dword [ebp - 0x444]
add eax, 0x76c
mov word [ebp - 0x414], ax
mov eax, dword [ebp - 0x448]
inc eax
mov word [ebp - 0x412], ax
movzx eax, word [ebp - 0x440]
mov word [ebp - 0x410], ax
movzx eax, word [ebp - 0x44c]
mov word [ebp - 0x40e], ax
movzx eax, word [ebp - 0x450]
mov word [ebp - 0x40c], ax
movzx eax, word [ebp - 0x454]
mov word [ebp - 0x40a], ax
movzx eax, word [ebp - 0x458]
mov word [ebp - 0x408], ax
xor eax, eax
mov word [ebp - 0x406], ax
push esi
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x4fc]
call fcn.100f4980
or ebx, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100d4b15
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x478]
call fcn.100c3d80
lea ecx, [ebp - 0x4fc]
call fcn.100f2eb0
lea ecx, [ebp - 0x4dc]
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
push 0x80004005
call fcn.100c61c0
call fcn.10265f3a
call fcn.10265f3a
int3