Function at 0x10007240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1025c74b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x102fb070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x71]
mov byte [ebp - 4], 1
call fcn.100035f0
mov ecx, esi
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100072b6
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10006680
cmp dword [ebp - 0x30], 0
jbe 0x10007634
lea eax, [ebp - 0x70]
push eax
call fcn.10007d80
mov ecx, eax
call fcn.1006148d
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1000731d
mov ecx, eax
call fcn.100042b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x10007357
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000734d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100076dd
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov word [ebp - 0x70], ax
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
cmp eax, 5
jb 0x100073a5
cmp edx, 8
lea esi, [ebp - 0x28]
push 0xa
cmovae esi, dword [ebp - 0x28]
lea edi, [ecx + 5]
push str.image
mov dword [ebp - 0x18], edi
lea eax, [esi + ecx*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100073bd
push 5
push str.image
mov byte [ebp - 0x78], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x78]
push 5
call fcn.10008770
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 1
jb 0x100073f7
cmp edx, 8
lea esi, [ebp - 0x28]
push 2
cmovae esi, dword [ebp - 0x28]
lea edi, [ecx + 1]
push 0x102ddc5c
mov dword [ebp - 0x18], edi
lea eax, [esi + ecx*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1000740f
push 1
push 0x102ddc5c
mov byte [ebp - 0x78], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x78]
push 1
call fcn.10008770
mov edi, dword [ebp - 0x2c]
lea edx, [ebp - 0x40]
mov esi, dword [ebp - 0x30]
cmp edi, 8
mov dword [ebp - 0x84], 0xffffffff
cmovae edx, dword [ebp - 0x40]
test esi, esi
je 0x1000745b
or eax, 0xffffffff
lea ecx, [esi - 1]
cmp ecx, eax
mov dword [ebp - 0x88], ecx
cmovb eax, ecx
cmp word [edx + eax*2], 0x2f
lea eax, [edx + eax*2]
je 0x10007455
cmp eax, edx
je 0x1000745b
sub eax, 2
cmp word [eax], 0x2f
jne 0x10007448
sub eax, edx
sar eax, 1
jmp 0x1000745e
or eax, 0xffffffff
lea ecx, [eax + 1]
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp esi, ecx
jb 0x100076e2
mov eax, esi
mov dword [ebp - 0x8c], esi
sub eax, ecx
cmp eax, esi
mov dword [ebp - 0x90], eax
cmovb esi, eax
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push esi
lea eax, [eax + ecx*2]
push eax
lea ecx, [ebp - 0x58]
call fcn.10006680
mov byte [ebp - 4], 3
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov esi, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x48]
sub eax, esi
mov dword [ebp - 0x78], esi
cmp ecx, eax
ja 0x100074f7
cmp dword [ebp - 0x14], 8
lea edi, [ecx + esi]
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], edi
push eax
mov eax, dword [ebp - 0x78]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x10007509
push ecx
push edx
mov byte [ebp - 0x78], 0
push dword [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10008770
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x10007547
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000753d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100076e7
push edx
push ecx
call fcn.10053aa5
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x44], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000761a
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov esi, dword [0x1030bb4c]
lea eax, [ebp - 0x40]
cmovae edi, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
test esi, esi
jne 0x1000760d
push 0x1030bb50
mov dword [ebp - 0x94], 0x1030bb50
call fcn.1003d112
add esp, 4
test eax, eax
je 0x100075bc
push eax
call fcn.1003d385
add esp, 4
mov byte [ebp - 4], 4
mov esi, dword [0x1030bb4c]
test esi, esi
jne 0x100075e8
push 4
call fcn.10053ab3
mov esi, eax
add esp, 4
mov dword [ebp - 0x98], esi
mov dword [esi], vtable.HttpDownloadImpl.0
mov dword [0x1030bb4c], esi
push 0x1030bb50
mov byte [ebp - 4], 5
call fcn.1003d187
add esp, 4
test eax, eax
je 0x10007606
push eax
call fcn.1003d385
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x78]
push 0
push 0
push edi
push eax
mov ecx, esi
call fcn.10080450
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x71]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call fcn.1005f77a
lea ecx, [ebp - 0x71]
call fcn.10001c50
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10007676
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000766c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100076ec
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x100076c0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100076b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100076f1
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10053a94
mov esp, ebp
pop ebp
ret 0xc
call fcn.100d7e3e
call fcn.10008660
call fcn.100d7e3e
call fcn.100d7e3e
call fcn.100d7e3e
int3