Function at 0x10071160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10185948
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x101dd594]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x10071a8e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.10070e90
add esp, 4
lea ecx, [ebp - 0x45]
call fcn.1006a380
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1001cb20
add esp, 0xc
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.1001c9f0
mov edx, dword [ebp - 0x44]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10071227
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x50]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1007123c
xor esi, esi
jmp 0x10071a4c
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 4
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x10071a98
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.10073ae0
lea ecx, [ebp - 0x1c]
call fcn.10073ae0
lea ecx, [ebp - 0x45]
call fcn.10067e10
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1001cb20
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.1001c9f0
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100712f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0xffffffffffffffff
push 0xfde9
push dword [ebp - 0x4c]
lea eax, [ebp - 0x68]
push eax
call fcn.10073720
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 7
jb 0x10071318
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push 0x10193cf0
push eax
call fcn.1003d0f0
mov edx, dword [ebp - 0x54]
add esp, 0xc
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x10071362
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10071358
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071aa2
push edx
push ecx
call fcn.10127e1e
add esp, 8
push ecx
mov ecx, esp
push 0x10193fcc
call fcn.10016670
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1006cc20
add esp, 0x10
lea ecx, [ebp - 0x34]
push dword [ebp - 0x44]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
call fcn.10066bf0
lea ecx, [ebp - 0x28]
call fcn.10073ae0
lea ecx, [ebp - 0x1c]
call fcn.10073ae0
lea ecx, [ebp - 0x45]
call fcn.10068860
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1001cb20
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.1001c9f0
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100713e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0xffffffffffffffff
push 0xfde9
push dword [ebp - 0x4c]
lea eax, [ebp - 0x68]
push eax
call fcn.10073720
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x1007140a
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push 0x10193cf0
push eax
call fcn.1003d0f0
mov edx, dword [ebp - 0x54]
add esp, 0xc
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x10071454
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007144a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071aa7
push edx
push ecx
call fcn.10127e1e
add esp, 8
push ecx
mov ecx, esp
push 0x10193fcc
call fcn.10016670
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1006cc20
add esp, 0x10
lea ecx, [ebp - 0x34]
push dword [ebp - 0x44]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
call fcn.10066bf0
lea ecx, [ebp - 0x28]
call fcn.10073ae0
lea ecx, [ebp - 0x1c]
call fcn.10073ae0
lea ecx, [ebp - 0x45]
call fcn.100676d0
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1001cb20
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.1001c9f0
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100714db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0xffffffffffffffff
push 0xfde9
push dword [ebp - 0x4c]
lea eax, [ebp - 0x68]
push eax
call fcn.10073720
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xb
jb 0x100714fc
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push 0x10193cf0
push eax
call fcn.1003d0f0
mov edx, dword [ebp - 0x54]
add esp, 0xc
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x10071546
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007153c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071aac
push edx
push ecx
call fcn.10127e1e
add esp, 8
push ecx
mov ecx, esp
push 0x10193fcc
call fcn.10016670
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1006cc20
add esp, 0x10
lea ecx, [ebp - 0x34]
push dword [ebp - 0x44]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
call fcn.10066bf0
lea ecx, [ebp - 0x28]
call fcn.10073ae0
lea ecx, [ebp - 0x1c]
call fcn.10073ae0
lea ecx, [ebp - 0x45]
call fcn.10069d30
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1001cb20
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call fcn.1001c9f0
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100715cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0xffffffffffffffff
push 0xfde9
push dword [ebp - 0x4c]
lea eax, [ebp - 0x68]
push eax
call fcn.10073720
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xd
jb 0x100715ee
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push 0x10193cf0
push eax
call fcn.1003d0f0
mov edx, dword [ebp - 0x54]
add esp, 0xc
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x10071638
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007162e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071ab1
push edx
push ecx
call fcn.10127e1e
add esp, 8
push ecx
mov ecx, esp
push 0x10193fcc
call fcn.10016670
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1006cc20
add esp, 0x10
lea ecx, [ebp - 0x34]
push dword [ebp - 0x44]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
call fcn.10066bf0
lea ecx, [ebp - 0x28]
call fcn.10073ae0
lea ecx, [ebp - 0x1c]
call fcn.10073ae0
lea ecx, [ebp - 0x45]
call fcn.1006b7f0
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1001cb20
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
call fcn.1001c9f0
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100716bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0xffffffffffffffff
push 0xfde9
push dword [ebp - 0x4c]
lea eax, [ebp - 0x68]
push eax
call fcn.10073720
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xf
jb 0x100716e0
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push 0x10193cf0
push eax
call fcn.1003d0f0
mov edx, dword [ebp - 0x54]
add esp, 0xc
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x1007172a
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10071720
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071ab6
push edx
push ecx
call fcn.10127e1e
add esp, 8
push ecx
mov ecx, esp
push 0x10193fcc
call fcn.10016670
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1006cc20
add esp, 0x10
lea ecx, [ebp - 0x34]
push dword [ebp - 0x44]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
call fcn.10066bf0
lea ecx, [ebp - 0x28]
call fcn.10073ae0
lea ecx, [ebp - 0x1c]
call fcn.10073ae0
lea ecx, [ebp - 0x45]
call fcn.10068770
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1001cb20
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.1001c9f0
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100717b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0xffffffffffffffff
push 0xfde9
push dword [ebp - 0x4c]
lea eax, [ebp - 0x68]
push eax
call fcn.10073720
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x11
jb 0x100717d2
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push 0x10193cf0
push eax
call fcn.1003d0f0
mov edx, dword [ebp - 0x54]
add esp, 0xc
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x1007181c
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10071812
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071abb
push edx
push ecx
call fcn.10127e1e
add esp, 8
push ecx
mov ecx, esp
push 0x10193fcc
call fcn.10016670
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1006cc20
add esp, 0x10
lea ecx, [ebp - 0x34]
push dword [ebp - 0x44]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
call fcn.10066bf0
lea ecx, [ebp - 0x28]
call fcn.10073ae0
lea ecx, [ebp - 0x1c]
call fcn.10073ae0
lea ecx, [ebp - 0x45]
call fcn.100695f0
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1001cb20
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
call fcn.1001c9f0
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100718a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x68]
push 0
push 0xffffffffffffffff
push 0xfde9
push esi
push eax
call fcn.10073720
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x13
jb 0x100718c5
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push 0x10193cf0
push eax
call fcn.1003d0f0
mov edx, dword [ebp - 0x54]
add esp, 0xc
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x1007190f
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10071905
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071ac0
push edx
push ecx
call fcn.10127e1e
add esp, 8
push ecx
mov ecx, esp
push 0x10193fcc
call fcn.10016670
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1006cc20
add esp, 0x10
lea ecx, [ebp - 0x34]
push dword [ebp - 0x44]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
call fcn.10066bf0
xor ecx, ecx
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], ecx
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
sar eax, 2
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x44], ecx
test eax, eax
je 0x10071a16
xor ebx, ebx
xor edi, edi
xor esi, esi
nop word [eax + eax]
lea eax, [ebp - 0x40]
push eax
push ebx
push ecx
call fcn.1001a9c0
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, 0x10193fcc
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x34]
sub esp, 0x18
mov eax, dword [eax + esi*4]
test eax, eax
mov dword [ebp - 0x44], esp
cmovne ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x44]
xor edx, edx
push eax
push ebx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
call fcn.1001ba50
call fcn.10073b60
mov ebx, dword [ebp - 0x3c]
mov eax, 0x2aaaaaab
mov ecx, ebx
inc esi
sub ecx, dword [ebp - 0x40]
add esp, 0x1c
imul ecx
mov ecx, dword [ebp - 0x40]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
add edi, eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
sar eax, 2
cmp esi, eax
jb 0x10071980
mov esi, dword [ebp - 0x4c]
or ebx, 0xffffffff
mov dword [ebp - 0x44], edi
mov edi, dword [ebp - 0x50]
lea ecx, [ebp - 0x40]
call fcn.10067120
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10071a39
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1c]
call fcn.100229e0
lea ecx, [ebp - 0x28]
call fcn.100229e0
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x34]
call fcn.100229e0
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10071a70
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10128191
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10017a40
push 0x80004005
call fcn.10017a40
call fcn.10153963
call fcn.10153963
call fcn.10153963
call fcn.10153963
call fcn.10153963
call fcn.10153963
call fcn.10153963
int3