Function at 0x1000ee70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a90f0
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x100db55c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x14]
mov dword [ebp - 0x118], eax
lea eax, [edi + 0x10]
push ecx
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.1000e350
add esp, 0xc
mov dword [ebp - 4], 0
call fcn.10002b70
mov ecx, eax
test ecx, ecx
je 0x1000f949
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x104]
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
mov dword [ebp - 0x110], eax
mov dword [ebp - 0xe8], ecx
test eax, eax
jne 0x1000ef10
mov dword [ebp - 0xe8], eax
jmp 0x1000f003
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ef15
sub ecx, edx
sar ecx, 1
push 0x80
lea eax, [ecx + 1]
lea esi, [eax*4]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xe8]
push esi
push eax
call fcn.1000dcf0
add esp, 0x10
push 0
push 0
push esi
push dword [ebp - 0xe8]
mov esi, dword [ebp - 0x110]
push dword [ebp - 0x108]
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x100], ecx
test eax, eax
jne 0x1000eff5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000efef
push 0
push 0
push 0
push 0
push dword [ebp - 0x108]
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea eax, [ebp - 0xe4]
push 0x80
push eax
lea eax, [ebp - 0xe8]
push esi
push eax
call fcn.1000dcf0
add esp, 0x10
push 0
push 0
push esi
push dword [ebp - 0xe8]
push dword [ebp - 0x108]
push dword [ebp - 0x110]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
jmp 0x1000eff5
mov ecx, dword [ebp - 0x100]
test ecx, ecx
jne 0x1000f953
mov eax, dword [ebp - 0xe8]
push eax
mov byte [ebp - 4], 2
call fcn.100103c0
add esp, 4
mov byte [ebp - 4], 1
test eax, eax
lea ecx, [ebp - 0xe4]
mov eax, dword [ebp - 0xe8]
sete byte [ebp - 0x109]
cmp eax, ecx
je 0x1000f036
push eax
call fcn.10079c86
add esp, 4
cmp byte [ebp - 0x109], 0
je 0x1000f0c6
call fcn.1005d6c0
test eax, eax
je 0x1000f0be
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f0be
mov esi, dword [edi + 8]
call fcn.1005d6c0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10006650
mov edi, eax
push 0x100affdc
push edi
mov byte [ebp - 4], 3
call fcn.1000d200
test esi, esi
mov ecx, 0x100afe48
cmovne ecx, esi
push ecx
push edi
call fcn.1000d200
push str._:_MakeSureDirectoryPathExists
push edi
call fcn.100072a0
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10007360
or esi, 0xffffffff
jmp 0x1000f8e4
push 0
push dword [ebp - 0x104]
call fcn.1000e940
add esp, 8
test eax, eax
jne 0x1000f163
call fcn.1005d6c0
test eax, eax
je 0x1000f159
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f159
mov esi, dword [edi + 8]
call fcn.1005d6c0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10006650
mov edi, eax
push 0x100affdc
push edi
mov byte [ebp - 4], 4
call fcn.1000d200
test esi, esi
mov ecx, 0x100afe48
cmovne ecx, esi
push ecx
push edi
call fcn.1000d200
push str._:_delete_old_file
push edi
call fcn.100072a0
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10007360
mov esi, 0xfffffffe
jmp 0x1000f8e4
mov eax, dword [edi + 0x24]
push 0x1c
mov dword [ebp - 0x100], eax
call fcn.1006a76e
mov esi, eax
add esp, 4
mov dword [ebp - 0x110], esi
test esi, esi
je 0x1000f1d3
mov dword [esi], vtable.CHttpTaskAdapterDownloadFile.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.10002b70
mov ecx, eax
test ecx, ecx
je 0x1000f972
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
push 0
push 0
add eax, 0x10
push 1
mov dword [esi + 0x14], eax
push 0
mov dword [esi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x10], eax
jmp 0x1000f1d5
xor esi, esi
push dword [ebp - 0x100]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push esi
mov dword [ebp - 0x110], 0
call fcn.1000de60
push dword [ebp - 0x118]
mov esi, dword [ebp - 0x114]
lea eax, [ebp - 0x104]
push dword [ebp - 0x100]
mov ecx, esi
mov byte [ebp - 4], 5
push eax
push dword [edi + 0xc]
call fcn.1000eb50
test eax, eax
je 0x1000f825
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x11c]
call fcn.1000e1d0
mov esi, dword [ebp - 0x110]
mov byte [ebp - 4], 1
test esi, esi
je 0x1000f268
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1000f268
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1000f268
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x100b0048
push dword [edi + 0x14]
call fcn.10086e0a
add esp, 8
test eax, eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jne 0x1000f58e
push dword [ebp - 0x104]
call eax
test eax, eax
jne 0x1000f31a
call fcn.1005d6c0
test eax, eax
je 0x1000f310
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f310
mov esi, dword [edi + 8]
call fcn.1005d6c0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10006650
mov edi, eax
push 0x100affdc
push edi
mov byte [ebp - 4], 7
call fcn.1000d200
test esi, esi
mov ecx, 0x100afe48
cmovne ecx, esi
push ecx
push edi
call fcn.1000d200
push str._:_download_not_exists
push edi
call fcn.100072a0
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10007360
mov esi, 0xfffffff6
jmp 0x1000f8e4
push 0
push dword [edi + 0x10]
call fcn.1000e940
add esp, 8
test eax, eax
jne 0x1000f3b4
call fcn.1005d6c0
test eax, eax
je 0x1000f3aa
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f3aa
mov esi, dword [edi + 8]
call fcn.1005d6c0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10006650
mov edi, eax
push 0x100affdc
push edi
mov byte [ebp - 4], 8
call fcn.1000d200
test esi, esi
mov ecx, 0x100afe48
cmovne ecx, esi
push ecx
push edi
call fcn.1000d200
push str._:_delete_raw_file
push edi
call fcn.100072a0
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10007360
mov esi, 0xfffffff5
jmp 0x1000f8e4
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x108]
call fcn.10002510
mov esi, dword [ebp - 0x108]
mov byte [ebp - 4], 9
cmp dword [esi - 4], 1
jle 0x1000f3ea
push dword [esi - 0xc]
lea ecx, [ebp - 0x108]
call fcn.10002660
mov esi, dword [ebp - 0x108]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [esi - 8]
push esi
call fcn.1007dbae
add esp, 8
test eax, eax
js 0x1000f97c
cmp eax, dword [esi - 8]
jg 0x1000f97c
xor ecx, ecx
mov dword [esi - 0xc], eax
push ecx
push esi
mov word [esi + eax*2], cx
push dword [ebp - 0x104]
call fcn.1006daa0
test eax, eax
jns 0x1000f4bc
call fcn.1005d6c0
test eax, eax
je 0x1000f4a7
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f4a7
mov esi, dword [edi + 8]
call fcn.1005d6c0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10006650
mov edi, eax
push 0x100affdc
push edi
mov byte [ebp - 4], 0xa
call fcn.1000d200
test esi, esi
mov ecx, 0x100afe48
cmovne ecx, esi
push ecx
push edi
call fcn.1000d200
push str._:_extract_file
push edi
call fcn.100072a0
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10007360
lea ecx, [ebp - 0x108]
mov esi, 0xfffffff4
call fcn.10002950
jmp 0x1000f8e4
push dword [ebp - 0x118]
call fcn.10011f80
add esp, 4
push 1
push dword [ebp - 0x104]
test eax, eax
je 0x1000f572
call fcn.1000e940
add esp, 8
call fcn.1005d6c0
test eax, eax
je 0x1000f55d
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f55d
mov esi, dword [edi + 8]
call fcn.1005d6c0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10006650
mov edi, eax
push 0x100affdc
push edi
mov byte [ebp - 4], 0xb
call fcn.1000d200
test esi, esi
mov ecx, 0x100afe48
cmovne ecx, esi
push ecx
push edi
call fcn.1000d200
push str._:_user_cancel
push edi
call fcn.100072a0
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10007360
lea ecx, [ebp - 0x108]
mov esi, 0xfffffff3
call fcn.10002950
jmp 0x1000f8e4
call fcn.1000e940
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x108]
call fcn.10002950
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [edi + 0x10]
call eax
test eax, eax
jne 0x1000f620
call fcn.1005d6c0
test eax, eax
je 0x1000f616
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f616
mov esi, dword [edi + 8]
call fcn.1005d6c0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10006650
mov edi, eax
push 0x100affdc
push edi
mov byte [ebp - 4], 0xc
call fcn.1000d200
test esi, esi
mov ecx, 0x100afe48
cmovne ecx, esi
push ecx
push edi
call fcn.1000d200
push str._:_file_not_found
push edi
call fcn.100072a0
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10007360
mov esi, 0xfffffffc
jmp 0x1000f8e4
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 0x10]
movups xmmword [ebp - 0x20], xmm0
call fcn.1000d5f0
add esp, 8
test eax, eax
jne 0x1000f6c3
call fcn.1005d6c0
test eax, eax
je 0x1000f6b9
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f6b9
mov esi, dword [edi + 8]
call fcn.1005d6c0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10006650
mov edi, eax
push 0x100affdc
push edi
mov byte [ebp - 4], 0xd
call fcn.1000d200
test esi, esi
mov ecx, 0x100afe48
cmovne ecx, esi
push ecx
push edi
call fcn.1000d200
push 0x100b00b0
push edi
call fcn.100072a0
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10007360
mov esi, 0xfffffffb
jmp 0x1000f8e4
push 0x42
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.10076710
push 0x21
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000d580
add esp, 0x18
test eax, eax
jne 0x1000f76f
call fcn.1005d6c0
test eax, eax
je 0x1000f765
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f765
mov esi, dword [edi + 8]
call fcn.1005d6c0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10006650
mov edi, eax
push 0x100affdc
push edi
mov byte [ebp - 4], 0xe
call fcn.1000d200
test esi, esi
mov ecx, 0x100afe48
cmovne ecx, esi
push ecx
push edi
call fcn.1000d200
push 0x100b00bc
push edi
call fcn.100072a0
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10007360
mov esi, 0xfffffffa
jmp 0x1000f8e4
lea edx, [ebp - 0x64]
lea ecx, [edi + 0x1c]
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000f780
sub edx, esi
lea eax, [ebp - 0x64]
sar edx, 1
push edx
push eax
call fcn.10002820
call fcn.1005d6c0
test eax, eax
je 0x1000f81e
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f81e
mov esi, dword [edi + 8]
call fcn.1005d6c0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10006650
mov edi, eax
push str.ok_Download_
push edi
mov byte [ebp - 4], 0xf
call fcn.1000d200
test esi, esi
mov ecx, 0x100afe48
cmovne ecx, esi
push ecx
push edi
call fcn.1000d200
push str._:_md5
push edi
call fcn.100072a0
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.1000d200
mov ecx, dword [ebp - 0x100]
add esp, 0x20
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10007360
xor esi, esi
jmp 0x1000f8e4
mov esi, dword [ebp - 0x110]
mov byte [ebp - 4], 1
test esi, esi
je 0x1000f854
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1000f854
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1000f854
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 1
push dword [ebp - 0x104]
call fcn.1000e940
add esp, 8
call fcn.1005d6c0
test eax, eax
je 0x1000f8df
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f8df
mov esi, dword [edi + 8]
call fcn.1005d6c0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10006650
mov edi, eax
push 0x100affdc
push edi
mov byte [ebp - 4], 6
call fcn.1000d200
test esi, esi
mov ecx, 0x100afe48
cmovne ecx, esi
push ecx
push edi
call fcn.1000d200
push str._:_sync_download_file
push edi
call fcn.100072a0
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10007360
mov esi, 0xfffffffd
mov edx, dword [ebp - 0x11c]
or edi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000f908
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x104]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x1000f92a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.1006a7ac
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10001810
push 0x80
lea eax, [ebp - 0xe4]
push eax
push dword [ebp - 0xe8]
call fcn.1000dd70
add esp, 0xc
call fcn.1000eb30
push 0x80004005
call fcn.10001810
push 0x80070057
call fcn.10001810
int3