Function at 0x100a9130
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100da142
mov eax, dword fs:[0]
push eax
mov eax, 0x4f64
call fcn.100b5ba0
mov eax, dword [0x100fb074]
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
mov edi, ecx
cmp dword [edi + 0x1c], 0x10
lea ebx, [edi + 8]
mov dword [ebx + 0x10], 0
mov eax, ebx
jb 0x100a9178
mov eax, dword [ebx]
mov byte [eax], 0
push dword [edi + 0x5c]
push 0xf
push str.__sid_:__d___ss_:_d_
call fcn.100045b0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x4f70], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x4ef0], 0
mov dword [ebp - 0x4eec], 0xf
mov byte [ebp - 0x4f00], 0
mov byte [ebp - 4], 1
lea eax, [edi + 0x44]
cmp dword [edi + 0x58], 0x10
jb 0x100a91c7
mov eax, dword [edi + 0x44]
mov edi, dword [edi + 0x54]
push edi
push eax
cmp edi, 0xf
ja 0x100a91f0
lea eax, [ebp - 0x4f00]
mov dword [ebp - 0x4ef0], edi
push eax
call fcn.100b72e0
add esp, 0xc
mov byte [ebp + edi - 0x4f00], 0
jmp 0x100a9209
mov byte [ebp - 0x4f64], 0
lea ecx, [ebp - 0x4f00]
push dword [ebp - 0x4f64]
push edi
call fcn.10001930
mov edx, dword [ebp - 0x4eec]
mov eax, edx
mov ecx, dword [ebp - 0x4ef0]
sub eax, ecx
push 0x1d
push str._rpackage_plug_indexresult
cmp eax, 0x1d
jb 0x100a924f
cmp edx, 0x10
lea edi, [ebp - 0x4f00]
lea eax, [ecx + 0x1d]
cmovae edi, dword [ebp - 0x4f00]
add edi, ecx
mov dword [ebp - 0x4ef0], eax
push edi
call fcn.100b72e0
add esp, 0xc
mov byte [edi + 0x1d], 0
jmp 0x100a9269
mov byte [ebp - 0x4f64], 0
lea ecx, [ebp - 0x4f00]
push dword [ebp - 0x4f64]
push 0x1d
call fcn.10001930
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a9270
sub ecx, edx
mov edx, esi
push ecx
push ecx
lea ecx, [ebp - 0x4f30]
call fcn.10001a90
add esp, 8
mov byte [ebp - 4], 2
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x100a9299
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x4eec]
mov edi, dword [ebp - 0x4ef0]
sub eax, edi
mov dword [ebp - 0x4f64], ecx
push ecx
push edx
cmp ecx, eax
ja 0x100a92ea
cmp dword [ebp - 0x4eec], 0x10
lea eax, [edi + ecx]
mov dword [ebp - 0x4ef0], eax
lea eax, [ebp - 0x4f00]
cmovae eax, dword [ebp - 0x4f00]
add edi, eax
push edi
call fcn.100b72e0
mov eax, dword [ebp - 0x4f64]
add esp, 0xc
mov byte [edi + eax], 0
jmp 0x100a9303
mov byte [ebp - 0x4f64], 0
push dword [ebp - 0x4f64]
push ecx
lea ecx, [ebp - 0x4f00]
call fcn.10001930
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4f1c]
cmp edx, 0x10
jb 0x100a9341
mov ecx, dword [ebp - 0x4f30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a9337
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a981a
push edx
push ecx
call fcn.100b4813
add esp, 8
push esi
push str.GetDataFromWeb_strGetData___s__n
call fcn.10004450
cmp dword [ebp - 0x4eec], 0x10
lea eax, [ebp - 0x4f00]
cmovae eax, dword [ebp - 0x4f00]
push eax
push str.GetDataFromWeb_url___s__n
call fcn.10004450
add esp, 0x10
lea eax, [ebp - 0x4f00]
cmp dword [ebp - 0x4eec], 0x10
mov dword [ebp - 0x4f64], eax
jb 0x100a9397
mov eax, dword [ebp - 0x4f00]
mov dword [ebp - 0x4f64], eax
test eax, eax
jne 0x100a9397
xor edi, edi
jmp 0x100a940b
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x4f68], eax
test eax, eax
jne 0x100a93b9
xor edi, edi
jmp 0x100a940b
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100b4821
add esp, 4
mov dword [ebp - 0x4f6c], eax
push edi
mov edi, eax
push 0
push edi
call fcn.100b7060
add esp, 0xc
test edi, edi
je 0x100a940b
push dword [ebp - 0x4f68]
push edi
push 0xffffffffffffffff
push dword [ebp - 0x4f64]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, edi
mov dword [ebp - 0x4f20], 0
xor eax, eax
mov dword [ebp - 0x4f1c], 7
mov word [ebp - 0x4f30], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9430
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x4f30]
call fcn.10002ec0
xor eax, eax
mov dword [ebp - 0x4f08], 0
mov dword [ebp - 0x4f04], 7
mov word [ebp - 0x4f18], ax
mov byte [ebp - 4], 4
lea edi, [ebp - 0x4f30]
cmp dword [ebp - 0x4f1c], 8
push str.c:zftest.txt
cmovae edi, dword [ebp - 0x4f30]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea edx, [ebp - 0x4f18]
mov ecx, edi
setne al
movzx eax, al
push eax
call fcn.10006fc0
add esp, 4
cmp dword [ebp - 0x4f08], 0
jne 0x100a94c2
push str.GetDataFromWeb_result__null__n
call fcn.10004450
add esp, 4
xor bl, bl
jmp 0x100a9703
cmp dword [ebp - 0x4f04], 8
lea eax, [ebp - 0x4f18]
mov dword [ebp - 0x4f64], eax
jb 0x100a94eb
mov eax, dword [ebp - 0x4f18]
mov dword [ebp - 0x4f64], eax
test eax, eax
jne 0x100a94eb
xor edi, edi
jmp 0x100a9555
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x4f6c], eax
test eax, eax
jne 0x100a9511
xor edi, edi
jmp 0x100a9555
lea edi, [eax + 1]
push edi
call fcn.100b4821
add esp, 4
mov dword [ebp - 0x4f68], eax
push edi
mov edi, eax
push 0
push edi
call fcn.100b7060
add esp, 0xc
test edi, edi
je 0x100a9555
push 0
push 0
push dword [ebp - 0x4f6c]
push edi
push 0xffffffffffffffff
push dword [ebp - 0x4f64]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, edi
mov dword [ebp - 0x4f38], 0
mov dword [ebp - 0x4f34], 0xf
mov byte [ebp - 0x4f48], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a9575
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x4f48]
call fcn.10001800
mov byte [ebp - 4], 5
lea edx, [ebp - 0x4f48]
cmp dword [ebp - 0x4f34], 0x10
push ecx
push dword [ebp - 0x4f38]
cmovae edx, dword [ebp - 0x4f48]
lea ecx, [ebp - 0x4f60]
call fcn.10001cf0
add esp, 8
mov ecx, ebx
push eax
call fcn.1000a6a0
mov edx, dword [ebp - 0x4f4c]
cmp edx, 0x10
jb 0x100a95fa
mov ecx, dword [ebp - 0x4f60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a95f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a981f
push edx
push ecx
call fcn.100b4813
add esp, 8
push 0x4ed4
lea eax, [ebp - 0x4ee8]
push 0
push eax
call fcn.100b7060
add esp, 0xc
mov ecx, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x100a961a
mov ecx, dword [ebx]
sub esp, 8
lea edx, [ebp - 0x4ee8]
call fcn.10004740
add esp, 8
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x100a963c
mov eax, dword [ebx]
lea ecx, [ebp - 0x4ee8]
mov byte [eax], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a9648
mov edi, dword [ebx + 0x14]
sub ecx, edx
mov edx, dword [ebx + 0x10]
mov eax, edi
sub eax, edx
mov dword [ebp - 0x4f68], ecx
cmp ecx, eax
ja 0x100a9694
lea eax, [edx + ecx]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edi, 0x10
jb 0x100a9674
mov eax, dword [ebx]
lea edi, [eax + edx]
push ecx
lea eax, [ebp - 0x4ee8]
push eax
push edi
call fcn.100b72e0
mov eax, dword [ebp - 0x4f68]
add esp, 0xc
mov byte [eax + edi], 0
jmp 0x100a96b1
push ecx
lea eax, [ebp - 0x4ee8]
mov byte [ebp - 0x4f68], 0
push eax
push dword [ebp - 0x4f68]
push ecx
mov ecx, ebx
call fcn.10001930
cmp dword [ebx + 0x14], 0x10
jb 0x100a96b9
mov ebx, dword [ebx]
push ebx
push str.GetDataFromWeb_result___s__n
call fcn.10004450
mov edx, dword [ebp - 0x4f34]
add esp, 8
mov bl, 1
cmp edx, 0x10
jb 0x100a9703
mov ecx, dword [ebp - 0x4f48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a96f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a9824
push edx
push ecx
call fcn.100b4813
add esp, 8
mov edx, dword [ebp - 0x4f04]
cmp edx, 8
jb 0x100a9743
mov ecx, dword [ebp - 0x4f18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100a9739
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a9829
push edx
push ecx
call fcn.100b4813
add esp, 8
mov edx, dword [ebp - 0x4f1c]
xor eax, eax
mov dword [ebp - 0x4f08], 0
mov dword [ebp - 0x4f04], 7
mov word [ebp - 0x4f18], ax
cmp edx, 8
jb 0x100a97a0
mov ecx, dword [ebp - 0x4f30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100a9796
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a982e
push edx
push ecx
call fcn.100b4813
add esp, 8
mov edx, dword [ebp - 0x4eec]
cmp edx, 0x10
jb 0x100a97d6
mov ecx, dword [ebp - 0x4f00]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a97cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a9833
push edx
push ecx
call fcn.100b4813
add esp, 8
push 1
push esi
mov dword [ebp - 0x4ef0], 0
mov dword [ebp - 0x4eec], 0xf
mov byte [ebp - 0x4f00], 0
call fcn.100b4813
add esp, 8
mov al, bl
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.100b47d2
mov esp, ebp
pop ebp
ret
call fcn.100ba02c
call fcn.100ba02c
call fcn.100ba02c
call fcn.100ba02c
call fcn.100ba02c
call fcn.100ba02c
int3