Function at 0x1000f0b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7d30
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x100db774]
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.1000e5b0
add esp, 0xc
mov dword [ebp - 4], 0
call fcn.10002dd0
mov ecx, eax
test ecx, ecx
je 0x1000fb89
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 0x1000f150
mov dword [ebp - 0xe8], eax
jmp 0x1000f243
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f155
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.1000df50
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 0x1000f235
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000f22f
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.1000df50
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 0x1000f235
mov ecx, dword [ebp - 0x100]
test ecx, ecx
jne 0x1000fb93
mov eax, dword [ebp - 0xe8]
push eax
mov byte [ebp - 4], 2
call fcn.10010600
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 0x1000f276
push eax
call fcn.100788b6
add esp, 4
cmp byte [ebp - 0x109], 0
je 0x1000f306
call fcn.1005c2e0
test eax, eax
je 0x1000f2fe
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f2fe
mov esi, dword [edi + 8]
call fcn.1005c2e0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.100068b0
mov edi, eax
push 0x100aefec
push edi
mov byte [ebp - 4], 3
call fcn.1000d460
test esi, esi
mov ecx, 0x100aee58
cmovne ecx, esi
push ecx
push edi
call fcn.1000d460
push str._:_MakeSureDirectoryPathExists
push edi
call fcn.10007500
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.100075c0
or esi, 0xffffffff
jmp 0x1000fb24
push 0
push dword [ebp - 0x104]
call fcn.1000eba0
add esp, 8
test eax, eax
jne 0x1000f3a3
call fcn.1005c2e0
test eax, eax
je 0x1000f399
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f399
mov esi, dword [edi + 8]
call fcn.1005c2e0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.100068b0
mov edi, eax
push 0x100aefec
push edi
mov byte [ebp - 4], 4
call fcn.1000d460
test esi, esi
mov ecx, 0x100aee58
cmovne ecx, esi
push ecx
push edi
call fcn.1000d460
push str._:_delete_old_file
push edi
call fcn.10007500
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.100075c0
mov esi, 0xfffffffe
jmp 0x1000fb24
mov eax, dword [edi + 0x24]
push 0x1c
mov dword [ebp - 0x100], eax
call fcn.1006937e
mov esi, eax
add esp, 4
mov dword [ebp - 0x110], esi
test esi, esi
je 0x1000f413
mov dword [esi], vtable.CHttpTaskAdapterDownloadFile.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.10002dd0
mov ecx, eax
test ecx, ecx
je 0x1000fbb2
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 0x1000f415
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.1000e0c0
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.1000edb0
test eax, eax
je 0x1000fa65
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x11c]
call fcn.1000e430
mov esi, dword [ebp - 0x110]
mov byte [ebp - 4], 1
test esi, esi
je 0x1000f4a8
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1000f4a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1000f4a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x100af058
push dword [edi + 0x14]
call fcn.10085a3a
add esp, 8
test eax, eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jne 0x1000f7ce
push dword [ebp - 0x104]
call eax
test eax, eax
jne 0x1000f55a
call fcn.1005c2e0
test eax, eax
je 0x1000f550
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f550
mov esi, dword [edi + 8]
call fcn.1005c2e0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.100068b0
mov edi, eax
push 0x100aefec
push edi
mov byte [ebp - 4], 7
call fcn.1000d460
test esi, esi
mov ecx, 0x100aee58
cmovne ecx, esi
push ecx
push edi
call fcn.1000d460
push str._:_download_not_exists
push edi
call fcn.10007500
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.100075c0
mov esi, 0xfffffff6
jmp 0x1000fb24
push 0
push dword [edi + 0x10]
call fcn.1000eba0
add esp, 8
test eax, eax
jne 0x1000f5f4
call fcn.1005c2e0
test eax, eax
je 0x1000f5ea
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f5ea
mov esi, dword [edi + 8]
call fcn.1005c2e0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.100068b0
mov edi, eax
push 0x100aefec
push edi
mov byte [ebp - 4], 8
call fcn.1000d460
test esi, esi
mov ecx, 0x100aee58
cmovne ecx, esi
push ecx
push edi
call fcn.1000d460
push str._:_delete_raw_file
push edi
call fcn.10007500
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.100075c0
mov esi, 0xfffffff5
jmp 0x1000fb24
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x108]
call fcn.10002770
mov esi, dword [ebp - 0x108]
mov byte [ebp - 4], 9
cmp dword [esi - 4], 1
jle 0x1000f62a
push dword [esi - 0xc]
lea ecx, [ebp - 0x108]
call fcn.100028c0
mov esi, dword [ebp - 0x108]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [esi - 8]
push esi
call fcn.1007c7db
add esp, 8
test eax, eax
js 0x1000fbbc
cmp eax, dword [esi - 8]
jg 0x1000fbbc
xor ecx, ecx
mov dword [esi - 0xc], eax
push ecx
push esi
mov word [esi + eax*2], cx
push dword [ebp - 0x104]
call fcn.1006c6b0
test eax, eax
jns 0x1000f6fc
call fcn.1005c2e0
test eax, eax
je 0x1000f6e7
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f6e7
mov esi, dword [edi + 8]
call fcn.1005c2e0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.100068b0
mov edi, eax
push 0x100aefec
push edi
mov byte [ebp - 4], 0xa
call fcn.1000d460
test esi, esi
mov ecx, 0x100aee58
cmovne ecx, esi
push ecx
push edi
call fcn.1000d460
push str._:_extract_file
push edi
call fcn.10007500
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.100075c0
lea ecx, [ebp - 0x108]
mov esi, 0xfffffff4
call fcn.10002bb0
jmp 0x1000fb24
push dword [ebp - 0x118]
call fcn.100121c0
add esp, 4
push 1
push dword [ebp - 0x104]
test eax, eax
je 0x1000f7b2
call fcn.1000eba0
add esp, 8
call fcn.1005c2e0
test eax, eax
je 0x1000f79d
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f79d
mov esi, dword [edi + 8]
call fcn.1005c2e0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.100068b0
mov edi, eax
push 0x100aefec
push edi
mov byte [ebp - 4], 0xb
call fcn.1000d460
test esi, esi
mov ecx, 0x100aee58
cmovne ecx, esi
push ecx
push edi
call fcn.1000d460
push str._:_user_cancel
push edi
call fcn.10007500
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.100075c0
lea ecx, [ebp - 0x108]
mov esi, 0xfffffff3
call fcn.10002bb0
jmp 0x1000fb24
call fcn.1000eba0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x108]
call fcn.10002bb0
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [edi + 0x10]
call eax
test eax, eax
jne 0x1000f860
call fcn.1005c2e0
test eax, eax
je 0x1000f856
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f856
mov esi, dword [edi + 8]
call fcn.1005c2e0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.100068b0
mov edi, eax
push 0x100aefec
push edi
mov byte [ebp - 4], 0xc
call fcn.1000d460
test esi, esi
mov ecx, 0x100aee58
cmovne ecx, esi
push ecx
push edi
call fcn.1000d460
push str._:_file_not_found
push edi
call fcn.10007500
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.100075c0
mov esi, 0xfffffffc
jmp 0x1000fb24
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 0x10]
movups xmmword [ebp - 0x20], xmm0
call fcn.1000d850
add esp, 8
test eax, eax
jne 0x1000f903
call fcn.1005c2e0
test eax, eax
je 0x1000f8f9
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f8f9
mov esi, dword [edi + 8]
call fcn.1005c2e0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.100068b0
mov edi, eax
push 0x100aefec
push edi
mov byte [ebp - 4], 0xd
call fcn.1000d460
test esi, esi
mov ecx, 0x100aee58
cmovne ecx, esi
push ecx
push edi
call fcn.1000d460
push 0x100af0c0
push edi
call fcn.10007500
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.100075c0
mov esi, 0xfffffffb
jmp 0x1000fb24
push 0x42
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.10075330
push 0x21
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000d7e0
add esp, 0x18
test eax, eax
jne 0x1000f9af
call fcn.1005c2e0
test eax, eax
je 0x1000f9a5
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000f9a5
mov esi, dword [edi + 8]
call fcn.1005c2e0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.100068b0
mov edi, eax
push 0x100aefec
push edi
mov byte [ebp - 4], 0xe
call fcn.1000d460
test esi, esi
mov ecx, 0x100aee58
cmovne ecx, esi
push ecx
push edi
call fcn.1000d460
push 0x100af0cc
push edi
call fcn.10007500
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.100075c0
mov esi, 0xfffffffa
jmp 0x1000fb24
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 0x1000f9c0
sub edx, esi
lea eax, [ebp - 0x64]
sar edx, 1
push edx
push eax
call fcn.10002a80
call fcn.1005c2e0
test eax, eax
je 0x1000fa5e
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000fa5e
mov esi, dword [edi + 8]
call fcn.1005c2e0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.100068b0
mov edi, eax
push str.ok_Download_
push edi
mov byte [ebp - 4], 0xf
call fcn.1000d460
test esi, esi
mov ecx, 0x100aee58
cmovne ecx, esi
push ecx
push edi
call fcn.1000d460
push str._:_md5
push edi
call fcn.10007500
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.1000d460
mov ecx, dword [ebp - 0x100]
add esp, 0x20
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.100075c0
xor esi, esi
jmp 0x1000fb24
mov esi, dword [ebp - 0x110]
mov byte [ebp - 4], 1
test esi, esi
je 0x1000fa94
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1000fa94
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1000fa94
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 1
push dword [ebp - 0x104]
call fcn.1000eba0
add esp, 8
call fcn.1005c2e0
test eax, eax
je 0x1000fb1f
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000fb1f
mov esi, dword [edi + 8]
call fcn.1005c2e0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.100068b0
mov edi, eax
push 0x100aefec
push edi
mov byte [ebp - 4], 6
call fcn.1000d460
test esi, esi
mov ecx, 0x100aee58
cmovne ecx, esi
push ecx
push edi
call fcn.1000d460
push str._:_sync_download_file
push edi
call fcn.10007500
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.100075c0
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 0x1000fb48
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 0x1000fb6a
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.100693bc
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10001a70
push 0x80
lea eax, [ebp - 0xe4]
push eax
push dword [ebp - 0xe8]
call fcn.1000dfd0
add esp, 0xc
call fcn.1000ed90
push 0x80004005
call fcn.10001a70
push 0x80070057
call fcn.10001a70
int3