Function at 0x1000e1d0
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0xcc]
sub esp, 0xcc
push 0xffffffffffffffff
push 0x10028cb6
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1003b014]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], 0
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000e252
call fcn.100082f0
test eax, eax
je 0x1000e447
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
jmp 0x1000e422
push 0x10034bf8
push dword [esi]
lea eax, [ebp - 0x18]
push eax
call fcn.100160f6
add esp, 0xc
test eax, eax
je 0x1000e295
call fcn.100082f0
test eax, eax
je 0x1000e447
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
jmp 0x1000e422
call fcn.100082f0
mov ecx, eax
test ecx, ecx
je 0x1000e447
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 4
push dword [ebp - 0x18]
call fcn.1001613d
add esp, 4
test eax, eax
jne 0x1000e30b
push dword [ebp - 0x18]
lea eax, [ebp]
push 0x64
push eax
call fcn.1001622b
add esp, 0xc
test eax, eax
je 0x1000e30b
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e2e0
sub eax, edx
lea ecx, [ebp - 0x14]
sar eax, 1
push eax
lea eax, [ebp]
push eax
call fcn.10007d60
push dword [ebp - 0x18]
call fcn.1001613d
add esp, 4
test eax, eax
je 0x1000e2c5
push dword [ebp - 0x18]
call fcn.100162ad
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.1000c300
or edi, 0xffffffff
cmp byte [ebp + 0xd4], 0
je 0x1000e3ec
push 0x10033d58
push 0x10034100
lea ecx, [ebp - 0x14]
call fcn.10007400
call fcn.100082f0
mov ecx, eax
test ecx, ecx
je 0x1000e451
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
push 0x10033d58
call fcn.100078e0
test al, al
jne 0x1000e37e
push 2
push 0x10033d58
lea ecx, [ebp - 0x10]
call fcn.10007bb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
push 2
push 0x10033d58
call fcn.10007d60
push ecx
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1000cf90
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
mov esi, dword [ebp - 0x10]
push esi
push dword [ebp - 0x20]
call fcn.10007400
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e3d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000e3ec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
mov ecx, esi
call fcn.10007ad0
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x1000e422
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.1000feb6
lea esp, [ebp + 0xcc]
pop ebp
ret
push 0x80004005
call fcn.100084e0
push 0x80004005
call fcn.100084e0
int3