Function at 0x100d58b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb74
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 0x104
mov dword [0x10361214], eax
lea eax, [ebp - 0x108]
push 0
push eax
mov dword [0x10361210], esi
call fcn.102629f0
add esp, 0xc
test esi, esi
je 0x100d592e
mov esi, dword [esi]
test esi, esi
je 0x100d592e
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x108]
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 0xc
push 0x1029bca4
lea ecx, [ebp - 0xb74]
mov dword [ebp - 0xb64], 0
mov dword [ebp - 0xb60], 0xf
mov byte [ebp - 0xb74], 0
call fcn.100b8260
mov dword [ebp - 0xb4c], 0
mov dword [ebp - 0xb48], 0xf
mov byte [ebp - 0xb5c], 0
mov dword [ebp - 0xb44], 0
call fcn.100e7a50
push 0x4b
push 0x1029b5d4
push str.C:gitlab_builds_aCoD4X3k0_flowproductsgamemodifier_nsispackage_srcinstall_nsdui.cpp
push str.info
call fcn.100e75d0
lea eax, [ebp - 0x108]
push eax
push 0x1029bca4
push str.begin_execute__s__s_
call fcn.100e7920
call fcn.100e7a10
push 0x208
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.102629f0
add esp, 0x28
mov dword [ebp - 0xb18], 0
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xb14], 0xf
mov byte [ebp - 0xb28], 0
lea edx, [ecx + 1]
pop esi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d59f1
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
push eax
lea ecx, [ebp - 0xb28]
call fcn.100b8260
lea eax, [ebp - 0xb28]
push eax
lea eax, [ebp - 0xb40]
push eax
call fcn.100e2110
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 8
jb 0x100d5a2d
mov ecx, dword [ecx]
lea edx, [ebp - 0x310]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x100d5a35
mov edx, dword [ebp - 0xb2c]
cmp edx, 8
jb 0x100d5a85
mov ecx, dword [ebp - 0xb40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d5a7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d5b8a
push edx
push ecx
call fcn.1025fbc4
add esp, 8
mov edx, dword [ebp - 0xb14]
xor eax, eax
mov dword [ebp - 0xb30], 0
mov dword [ebp - 0xb2c], 7
mov word [ebp - 0xb40], ax
cmp edx, 0x10
jb 0x100d5adc
mov ecx, dword [ebp - 0xb28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d5ad2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d5b8a
push edx
push ecx
call fcn.1025fbc4
add esp, 8
push 0x103222f0
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100d5b71
push 0x800
lea eax, [ebp - 0xb10]
push 0
push eax
call fcn.102629f0
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0xb10]
push str.__s___i
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0
lea eax, [ebp - 0xb10]
push 0x7530
push eax
call fcn.100eed00
push 0x103222f0
call fcn.100eea20
add esp, 0x28
test eax, eax
je 0x100d5b71
lea eax, [ebp - 0x310]
push eax
call fcn.100ee620
push 0
lea eax, [ebp - 0xb10]
push 0x7530
push eax
call fcn.100eed00
add esp, 0x10
lea ecx, [ebp - 0xb74]
call fcn.100c3bf0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102601ec
mov esp, ebp
pop ebp
ret
call fcn.10265f3a
int3