Function at 0x100a47a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10101a50
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1013cfc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
cmp dword [esi + 0x14], 0
je 0x100a47e4
cmp dword [esi + 0x2c], 0
je 0x100a47e4
cmp dword [esi + 0x44], 0
lea eax, [esi + 0x34]
jne 0x100a4846
cmp dword [esi + 0x6c], 0
jne 0x100a4843
push 0xa2c
call fcn.100a23f0
add esp, 4
test eax, eax
je 0x100a4806
mov ecx, eax
call fcn.100a3ae0
mov esi, eax
jmp 0x100a4808
xor esi, esi
push str.download_param_error
lea eax, [esi + 0x228]
mov dword [esi + 0xa28], 0
push 0x400
push eax
call fcn.100d095d
mov eax, dword [ebp - 0x4c]
add esp, 0xc
push esi
push eax
push 0x800
push dword [eax + 0x6c]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x100a4bd4
lea eax, [esi + 0x34]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x54], 1
call fcn.10007a20
lea edi, [esi + 0x34]
mov dword [ebp - 4], 0
or esi, 0xffffffff
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100a486d
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a4b05
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x50], eax
cmp edi, 8
jae 0x100a48b0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x100a48ec
mov esi, edi
lea ecx, [ebp - 0x28]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.1000abe0
lea ecx, [edi*2 + 2]
mov dword [ebp - 0x28], eax
push ecx
push dword [ebp - 0x50]
push eax
call fcn.100c5d20
add esp, 0xc
mov dword [ebp - 0x14], esi
or esi, 0xffffffff
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
call fcn.10009850
mov ecx, eax
test ecx, ecx
je 0x100a4bf9
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push str.__d_
push eax
call fcn.10014e70
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x40]
add esp, 0xc
cmp dword [ebp - 0x2c], 8
cmovae edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
cmp eax, 1
jb 0x100a4988
dec eax
mov ecx, esi
cmp eax, 0xffffffff
cmovb ecx, eax
lea edi, [edx + ecx*2]
mov esi, edi
sub esi, 0x10108024
cmp word [edi], 0x2e
jne 0x100a497c
mov edx, 1
mov eax, 0x10108024
mov cx, word [esi + eax]
cmp cx, word [eax]
jne 0x100a4979
add eax, 2
sub edx, 1
jne 0x100a4961
sub edi, dword [ebp - 0x44]
sar edi, 1
jmp 0x100a498b
mov edx, dword [ebp - 0x44]
cmp edi, edx
je 0x100a4988
sub edi, 2
sub esi, 2
jmp 0x100a4951
or edi, 0xffffffff
mov esi, dword [ebp - 0x50]
cmp edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov ecx, esi
cmove edi, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x44], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a49a0
sub ecx, dword [ebp - 0x44]
sar ecx, 1
mov dword [ebp - 0x60], ecx
cmp edx, edi
jb 0x100a4bf4
mov eax, dword [ebp - 0x14]
sub eax, edx
cmp ecx, eax
ja 0x100a4a66
cmp dword [ebp - 0x14], 8
lea eax, [edx + ecx]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
lea eax, [eax + edi*2]
mov dword [ebp - 0x48], eax
lea eax, [ecx + ecx]
mov dword [ebp - 0x5c], eax
add eax, esi
cmp eax, dword [ebp - 0x48]
jbe 0x100a4a14
mov eax, dword [ebp - 0x44]
lea eax, [eax + edx*2]
cmp esi, eax
ja 0x100a4a14
mov ecx, dword [ebp - 0x48]
cmp ecx, esi
ja 0x100a4a09
mov dword [ebp - 0x44], 0
jmp 0x100a4a1a
mov eax, ecx
sub eax, esi
sar eax, 1
mov dword [ebp - 0x44], eax
jmp 0x100a4a1a
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x48]
sub edx, edi
lea eax, [edx*2 + 2]
push eax
mov eax, dword [ebp - 0x5c]
push ecx
add eax, ecx
push eax
call fcn.100c62a0
mov edi, dword [ebp - 0x44]
add edi, edi
push edi
push esi
push dword [ebp - 0x48]
call fcn.100c5d20
mov ecx, dword [ebp - 0x60]
mov eax, ecx
mov edx, dword [ebp - 0x44]
sub eax, edx
add eax, eax
push eax
lea eax, [edx + ecx]
lea eax, [esi + eax*2]
push eax
mov eax, dword [ebp - 0x48]
add eax, edi
push eax
call fcn.100c5d20
add esp, 0x24
lea eax, [ebp - 0x28]
jmp 0x100a4a79
push ecx
push esi
push edi
mov byte [ebp - 0x58], 0
push dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.100a3980
mov edi, dword [ebp - 0x4c]
add edi, 0x34
cmp edi, eax
je 0x100a4a98
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x100a4a8d
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.1000b050
inc dword [ebp - 0x54]
add esi, 0xfffffff0
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100a4ab7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov esi, 0xffffffff
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x100a4863
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100a4af4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a4bef
push edx
push ecx
call fcn.100ab24f
add esp, 8
or esi, esi
jmp 0x100a4863
call fcn.10009850
mov ecx, eax
test ecx, ecx
je 0x100a4bf9
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
lea ecx, [edi + 0x10]
mov dword [ebp - 0x58], ecx
mov esi, dword [ebp - 0x4c]
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x100a4b3d
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esi + 0x64], 0
call fcn.10070440
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100a4b73
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov esi, eax
test esi, esi
je 0x100a4b75
mov eax, dword [esi]
mov ecx, esi
push 0
push str.ungzip
call dword [eax + 0x30]
mov eax, dword [esi]
mov ecx, esi
push 0
push str.gzip
call dword [eax + 0x30]
jmp 0x100a4b75
xor esi, esi
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x64], esi
test esi, esi
je 0x100a4bb3
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
mov esi, dword [ebp - 0x4c]
cmp dword [esi + 0x48], 8
lea edx, [esi + 0x34]
jb 0x100a4b94
mov edx, dword [edx]
mov ecx, dword [esi + 0x64]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp dword [esi + 0x30], 8
lea edx, [esi + 0x1c]
jb 0x100a4ba8
mov edx, dword [edx]
mov ecx, dword [esi + 0x64]
push edx
push 0
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100a4bcc
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x40]
call fcn.100087f0
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.100ab5ce
mov esp, ebp
pop ebp
ret
call fcn.100c9e7a
call fcn.1000ab70
push 0x80004005
call fcn.10009640
int3