Function at 0x1001f6a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009768d
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x100d8574]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.100702c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1003d9f0
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f720
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.1000f550
cmp dword [ebp - 0x238], 0
mov bl, 1
mov dword [ebp - 4], 0
je 0x1001f9b3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1001f762
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001f9b3
cmp dword [esi + 0x14], 8
jb 0x1001f779
mov esi, dword [esi]
push 0x100b27b4
push str.LoginLevel
push 0x100b27d0
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.100204b0
add esp, 0x14
cmp dword [ebp - 0x220], 0
mov byte [ebp - 4], 1
je 0x1001f977
cmp dword [ebp - 0x234], 8
lea esi, [ebp - 0x248]
cmovae esi, dword [ebp - 0x248]
call fcn.10005f90
mov ecx, eax
test ecx, ecx
je 0x1001fa0e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x250], eax
push esi
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 2
call fcn.10005660
test al, al
jne 0x1001f81c
test esi, esi
jne 0x1001f7f6
xor ecx, ecx
jmp 0x1001f80f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f800
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x250]
call fcn.10007cf0
cmp dword [ebp - 0x21c], 8
lea esi, [ebp - 0x230]
mov byte [ebp - 4], 3
cmovae esi, dword [ebp - 0x230]
call fcn.10005f90
mov ecx, eax
test ecx, ecx
je 0x1001fa18
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
push esi
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call fcn.10005660
test al, al
jne 0x1001f88e
test esi, esi
jne 0x1001f86d
xor ecx, ecx
jmp 0x1001f881
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f872
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x24c]
call fcn.10007cf0
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.100386f0
add esp, 0xc
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 6
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f8c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.1000f550
mov edx, dword [ebp - 0x254]
or esi, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f900
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24c]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f921
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1001f940
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x220], 0
je 0x1001f977
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.1007f3f4
add esp, 4
test eax, eax
jle 0x1001f977
lea ecx, [ebp - 0x230]
call fcn.10004710
jmp 0x1001f9b5
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1001f9b3
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f9a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fa22
push edx
push ecx
call fcn.10033972
add esp, 8
xor bl, bl
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x1001f9f1
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f9e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fa27
push edx
push ecx
call fcn.10033972
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10033cf1
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005640
push 0x80004005
call fcn.10005640
call fcn.10073759
call fcn.10073759
int3