Function at 0x100a8970
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100da06b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a0
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1b0], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x1a8]
movups xmmword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x168], xmm0
movaps xmm0, xmmword [0x100f5800]
movups xmmword [ebp - 0x160], xmm0
call fcn.100031e0
test al, al
je 0x100a89ee
lea ecx, [ebp - 0x1a8]
call fcn.100033d0
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x1a8]
call fcn.10004310
mov al, byte [0x100e8a1c]
xor esi, esi
movups xmm0, xmmword [0x100e8a0c]
push 0x100
mov byte [ebp - 0x18], al
xor edi, edi
lea eax, [ebp - 0x138]
push esi
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.100b7060
add esp, 0xc
cmp esi, 0x100
jae 0x100a8a5c
movzx ecx, byte [ebp + edi - 0x38]
inc edi
mov eax, ecx
and ecx, 0xf
shr eax, 4
mov al, byte [ebp + eax - 0x28]
mov byte [ebp + esi - 0x138], al
mov al, byte [ebp + ecx - 0x28]
mov byte [ebp + esi - 0x137], al
add esi, 2
cmp edi, 0x10
jb 0x100a8a28
cmp dword [0x100fbbbc], 0x10
lea edi, [ebp - 0x138]
mov eax, 0x100fbba8
mov dword [0x100fbbb8], 0
cmovae eax, dword [0x100fbba8]
lea ecx, [edi + 1]
mov byte [eax], 0
mov al, byte [edi]
inc edi
test al, al
jne 0x100a8a85
mov edx, dword [0x100fbbbc]
sub edi, ecx
mov ecx, dword [0x100fbbb8]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x100a8ad2
lea eax, [ecx + edi]
cmp edx, 0x10
mov dword [0x100fbbb8], eax
mov esi, 0x100fbba8
cmovae esi, dword [0x100fbba8]
lea eax, [ebp - 0x138]
add esi, ecx
push eax
push esi
call fcn.100b72e0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x100a8af1
lea eax, [ebp - 0x138]
mov byte [ebp - 0x1ac], 0
push eax
push dword [ebp - 0x1ac]
mov ecx, 0x100fbba8
push edi
call fcn.10001930
mov esi, dword [ebp - 0x1b0]
sub esp, 8
lea ecx, [esi + 4]
mov dword [0x100fe28c], 0xf
mov dword [ecx], 0
call fcn.100a85d0
add esp, 8
call fcn.10002660
push str.c:zftest.txt
mov dword [esi + 0x5c], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, str.https:__
mov dword [ebp - 0x140], 0
test eax, eax
mov dword [ebp - 0x13c], 0xf
mov edx, str.http:__
mov byte [ebp - 0x150], 0
cmove edx, ecx
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a8b57
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x150]
call fcn.10001800
push 0x100f5268
mov dword [ebp - 4], 0
lea eax, [ebp - 0x150]
cmp dword [ebp - 0x13c], 0x10
push str.zhanfukeji
cmovae eax, dword [ebp - 0x150]
push 0x100f5278
push eax
push str._s_s._s._s_
call fcn.100045b0
add esp, 0x14
lea ecx, [esi + 0x2c]
push eax
call fcn.100015b0
cmp dword [ebp - 0x13c], 0x10
lea eax, [ebp - 0x150]
push 0x100f5268
cmovae eax, dword [ebp - 0x150]
push str.zhanfukeji
push 0x100f5278
push eax
push str._s_s._s._s_
call fcn.100045b0
add esp, 0x14
lea ecx, [esi + 0x44]
push eax
call fcn.100015b0
mov edx, dword [ebp - 0x13c]
mov dword [esi], 1
cmp edx, 0x10
jb 0x100a8c24
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8c1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8c44
push edx
push ecx
call fcn.100b4813
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100ba02c
int3