Function at 0x10017160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec17e
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x1012931c]
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 dword [ebp - 0x3e8], ecx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov eax, dword [ebp + 0xc]
push str._4d4171a1ae1e
mov dword [ebp - 0x3f0], ebx
mov dword [ebp - 0x3f4], eax
mov byte [ebp - 0x3d5], 1
call fcn.10054f0e
test al, al
jne 0x100172d6
push str._8254c060e67f
mov ecx, ebx
call fcn.10054f0e
test al, al
je 0x100172d6
lea ecx, [ebp - 0x404]
call fcn.1001b380
push 0x24
lea ecx, [ebp - 0x404]
mov dword [ebp - 4], 0
call fcn.1001b890
mov bl, al
mov dword [ebp - 4], 0xffffffff
neg bl
lea ecx, [ebp - 0x404]
sbb bl, bl
call fcn.1001b4e0
and bl, byte [ebp - 0x3d5]
jne 0x100172d0
call fcn.10045da9
test al, al
je 0x100172c9
mov eax, dword [0x1012ebd0]
test eax, eax
je 0x100172c9
cmp dword [eax + 4], 4
jl 0x100172c9
push str.1151
call fcn.10045bd3
push str.1150
mov dword [ebp - 0x3e8], eax
call fcn.10045bd3
add esp, 8
lea ecx, [ebp - 0x1d4]
mov edi, eax
push 0
push 0
push 0x100f5674
push 0x1c8
push str.CDoActiveLogic::OnInstallEvent
push 4
call fcn.10006e20
mov ebx, eax
test edi, edi
mov dword [ebp - 4], 1
mov ecx, 0x100f5c08
lea esi, [ebx + 0x28]
cmovne ecx, edi
push ecx
push esi
call fcn.10006220
mov eax, dword [ebp - 0x3e8]
mov ecx, 0x100f5c08
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.10006220
mov ecx, dword [0x1012ebd0]
add esp, 0x10
push ebx
call fcn.10007f70
lea ecx, [ebp - 0x1d4]
call fcn.10007910
xor al, al
jmp 0x100178d7
mov ebx, dword [ebp - 0x3f0]
push 0
mov edi, 3
call fcn.100b60a4
add esp, 4
mov dword [ebp - 0x3e4], eax
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x3e0], edx
call fcn.1004b977
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], 2
call fcn.1004b778
push 0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
call fcn.10042b03
push 0
lea ecx, [ebp - 0xa4]
call fcn.10042b10
nop dword [eax]
mov esi, dword [0x1012ec5c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40c], xmm0
test esi, esi
jne 0x100173bf
push 0x1012ec60
mov dword [ebp - 0x418], 0x1012ec60
call fcn.1006798d
add esp, 4
test eax, eax
je 0x10017369
push eax
call fcn.10067d1c
add esp, 4
mov esi, dword [0x1012ec5c]
mov byte [ebp - 4], 4
test esi, esi
jne 0x1001739d
push 4
call fcn.10081411
mov esi, eax
add esp, 4
mov dword [ebp - 0x3fc], esi
test esi, esi
je 0x10017395
mov dword [esi], vtable.HttpGetImpl.0
jmp 0x10017397
xor esi, esi
mov dword [0x1012ec5c], esi
push 0x1012ec60
mov byte [ebp - 4], 5
call fcn.10067a02
add esp, 4
test eax, eax
je 0x100173bb
push eax
call fcn.10067d1c
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.1003fbbb
test al, al
jne 0x100173ee
push 0xbb8
dec edi
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
jg 0x10017330
jmp 0x10017406
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x408]
mov dword [ebp - 0x3e0], eax
lea ecx, [ebp - 0xa4]
mov dword [ebp - method.CParseServerTime.virtual_0], vtable.CParseServerTime.0
mov dword [ebp - 4], 0xffffffff
call fcn.10042a9d
push dword [ebp - 0x3e0]
lea eax, [ebp - 0xbc]
push dword [ebp - 0x3e4]
push eax
call fcn.1003548d
add esp, 0xc
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 6
jb 0x1001744c
mov eax, dword [eax]
push eax
call fcn.10005780
mov ecx, eax
call fcn.1003f9f5
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], 0xffffffff
call fcn.10001ee0
push str._2dc292113601
mov ecx, ebx
call fcn.10054f0e
test al, al
je 0x10017497
call fcn.10005780
mov ecx, eax
call fcn.1003ebf7
test al, al
je 0x10017497
mov ecx, dword [ebp - 0x3e8]
push ebx
call fcn.10018470
push str._2bf8be1097ff
mov ecx, ebx
call fcn.10054f0e
test al, al
je 0x100174c0
push str._2bf8be1097ff
mov ecx, ebx
call fcn.10054886
push eax
call fcn.10005780
mov ecx, eax
call fcn.1003ef2e
mov esi, dword [ebp - 0x3f4]
mov eax, dword [esi + 4]
mov dword [ebp - 0x3dc], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x3e0], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x3ec], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x3e4], eax
call fcn.10045da9
test al, al
je 0x100175a4
mov eax, dword [0x1012ebd0]
test eax, eax
je 0x100175a4
cmp dword [eax + 4], 4
jl 0x100175a4
push str.1157
call fcn.10045bd3
push str.1150
mov ebx, eax
call fcn.10045bd3
add esp, 8
lea ecx, [ebp - 0x2d4]
mov esi, eax
push 0
push 0
push 0x100f5674
push 0x18e
push str.CDoActiveLogic::GetStrategyInfo
push 4
call fcn.10006e20
mov edi, eax
test esi, esi
mov dword [ebp - 4], 7
mov ecx, 0x100f5c08
cmovne ecx, esi
lea esi, [edi + 0x28]
push ecx
push esi
call fcn.10006220
test ebx, ebx
mov eax, 0x100f5c08
cmovne eax, ebx
push eax
push esi
call fcn.10006220
mov ecx, dword [0x1012ebd0]
add esp, 0x10
push edi
call fcn.10007f70
lea ecx, [ebp - 0x2d4]
mov dword [ebp - 4], 0xffffffff
call fcn.10007910
mov ebx, dword [ebp - 0x3f0]
mov esi, dword [ebp - 0x3f4]
lea ecx, [ebp - 0x3f8]
call fcn.1000e8a0
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 4], 8
call fcn.1000efe0
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 4], 0xffffffff
call fcn.10003de0
cmp dword [ebp - 0x3e4], 0
mov edi, dword [ebp - 0x3e8]
setne al
movzx eax, al
push eax
lea ecx, [edi + 4]
call fcn.10015830
cmp dword [ebp - 0x3e0], 0
lea ecx, [edi + 4]
setne al
movzx eax, al
push eax
call fcn.10014ab0
cmp dword [ebp - 0x3ec], 0
lea ecx, [edi + 4]
setne al
movzx eax, al
push eax
call fcn.10015450
lea ecx, [edi + 4]
call fcn.10015aa0
cmp dword [ebp - 0x3dc], 0
mov ecx, edi
setne al
movzx eax, al
push eax
call fcn.10017900
push str.6789Zip
lea eax, [ebp - 0x40]
push 0x100f690c
push eax
call fcn.1003501a
add esp, 0xc
mov ecx, dword [esi + 0x40]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x3c]
imul ecx
mov dword [ebp - 4], 9
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x10017694
mov eax, dword [esi + 0x3c]
lea ecx, [ebp - 0x40]
add eax, 0x30
cmp ecx, eax
je 0x10017694
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x10017688
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.100187f0
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.10006c20
lea ecx, [edi + 4]
call fcn.10017c00
mov ecx, edi
call fcn.10016810
test al, al
je 0x10017748
lea eax, [ebp - 0xd4]
push eax
call fcn.10005780
mov ecx, eax
call fcn.1003eb3e
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x100176da
mov edx, dword [edx]
sub esp, 0x18
mov ecx, edx
mov esi, esp
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x3dc], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017700
sub ecx, dword [ebp - 0x3dc]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.10003260
lea ecx, [ebp - 0x70]
call fcn.10018980
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xc
call fcn.10001ee0
push ebx
lea ecx, [ebp - 0x70]
call fcn.10019920
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.10001ee0
push ebx
mov ecx, edi
call fcn.10017fd0
call fcn.1000ee60
mov ecx, eax
call fcn.1005220b
cmp eax, 1
jne 0x100178a5
lea eax, [ebp - 0x28]
push eax
call fcn.10005780
mov ecx, eax
call fcn.1003eb3e
push 0xa
push str.ZipMd5.exe
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.10006070
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001789d
call fcn.10045da9
test al, al
je 0x10017846
mov eax, dword [0x1012ebd0]
test eax, eax
je 0x10017846
cmp dword [eax + 4], 4
jl 0x10017846
push str.1162
call fcn.10045bd3
push str.1150
mov dword [ebp - 0x3dc], eax
call fcn.10045bd3
add esp, 8
mov dword [ebp - 0x3ec], eax
lea ecx, [ebp - 0x3d4]
push 0
push 0
push 0x100f5674
push 0x208
push str.CDoActiveLogic::OnInstallEvent
push 4
call fcn.10006e20
mov esi, dword [0x1012ebd0]
lea ecx, [ebp - 0x3dc]
push ecx
lea ecx, [ebp - 0x3ec]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.100061f0
mov ecx, eax
call fcn.100061f0
push eax
mov ecx, esi
call fcn.10007f70
lea ecx, [ebp - 0x3d4]
mov byte [ebp - 4], 0xd
call fcn.10007910
push str._28340ddfd5af
mov ecx, ebx
call fcn.10054886
push eax
push str._28340ddfd5af
push str._fcdd147daeee
lea eax, [ebp - 0x58]
push str._s__s_d
push eax
call fcn.100350d8
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x58]
push 0
push ecx
push eax
mov byte [ebp - 4], 0xf
call fcn.10047efc
add esp, 0x28
lea ecx, [ebp - 0x58]
call fcn.10001ee0
lea ecx, [ebp - 0x28]
call fcn.10001ee0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x100178d5
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100178cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100178f5
push edx
push ecx
call fcn.10081441
add esp, 8
mov al, 1
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.10081454
mov esp, ebp
pop ebp
ret 8
call fcn.100ad050
int3