Function at 0x1000b3d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101100c0
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x1015e404]
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.1000a8b0
add esp, 0xc
mov dword [ebp - 4], 0
call fcn.10002000
mov ecx, eax
test ecx, ecx
je 0x1000bea9
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 0x1000b470
mov dword [ebp - 0xe8], eax
jmp 0x1000b563
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000b475
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.1000a250
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 0x1000b555
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000b54f
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.1000a250
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 0x1000b555
mov ecx, dword [ebp - 0x100]
test ecx, ecx
jne 0x1000beb3
mov eax, dword [ebp - 0xe8]
push eax
mov byte [ebp - 4], 2
call fcn.1000c920
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 0x1000b596
push eax
call fcn.100e0f46
add esp, 4
cmp byte [ebp - 0x109], 0
je 0x1000b626
call fcn.1005b270
test eax, eax
je 0x1000b61e
call fcn.1005b270
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000b61e
mov esi, dword [edi + 8]
call fcn.1005b270
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10003680
mov edi, eax
push 0x1011b194
push edi
mov byte [ebp - 4], 3
call fcn.100096e0
test esi, esi
mov ecx, 0x1011b000
cmovne ecx, esi
push ecx
push edi
call fcn.100096e0
push str._:_MakeSureDirectoryPathExists
push edi
call fcn.10004280
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10004340
or esi, 0xffffffff
jmp 0x1000be44
push 0
push dword [ebp - 0x104]
call fcn.1000aea0
add esp, 8
test eax, eax
jne 0x1000b6c3
call fcn.1005b270
test eax, eax
je 0x1000b6b9
call fcn.1005b270
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000b6b9
mov esi, dword [edi + 8]
call fcn.1005b270
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10003680
mov edi, eax
push 0x1011b194
push edi
mov byte [ebp - 4], 4
call fcn.100096e0
test esi, esi
mov ecx, 0x1011b000
cmovne ecx, esi
push ecx
push edi
call fcn.100096e0
push str._:_delete_old_file
push edi
call fcn.10004280
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10004340
mov esi, 0xfffffffe
jmp 0x1000be44
mov eax, dword [edi + 0x24]
push 0x1c
mov dword [ebp - 0x100], eax
call fcn.10067a5e
mov esi, eax
add esp, 4
mov dword [ebp - 0x110], esi
test esi, esi
je 0x1000b733
mov dword [esi], vtable.CHttpTaskAdapterDownloadFile.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.10002000
mov ecx, eax
test ecx, ecx
je 0x1000bed2
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 0x1000b735
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.1000a3c0
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.1000b0b0
test eax, eax
je 0x1000bd85
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x11c]
call fcn.1000a730
mov esi, dword [ebp - 0x110]
mov byte [ebp - 4], 1
test esi, esi
je 0x1000b7c8
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1000b7c8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1000b7c8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x1011b200
push dword [edi + 0x14]
call fcn.100ece58
add esp, 8
test eax, eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jne 0x1000baee
push dword [ebp - 0x104]
call eax
test eax, eax
jne 0x1000b87a
call fcn.1005b270
test eax, eax
je 0x1000b870
call fcn.1005b270
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000b870
mov esi, dword [edi + 8]
call fcn.1005b270
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10003680
mov edi, eax
push 0x1011b194
push edi
mov byte [ebp - 4], 7
call fcn.100096e0
test esi, esi
mov ecx, 0x1011b000
cmovne ecx, esi
push ecx
push edi
call fcn.100096e0
push str._:_download_not_exists
push edi
call fcn.10004280
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10004340
mov esi, 0xfffffff6
jmp 0x1000be44
push 0
push dword [edi + 0x10]
call fcn.1000aea0
add esp, 8
test eax, eax
jne 0x1000b914
call fcn.1005b270
test eax, eax
je 0x1000b90a
call fcn.1005b270
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000b90a
mov esi, dword [edi + 8]
call fcn.1005b270
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10003680
mov edi, eax
push 0x1011b194
push edi
mov byte [ebp - 4], 8
call fcn.100096e0
test esi, esi
mov ecx, 0x1011b000
cmovne ecx, esi
push ecx
push edi
call fcn.100096e0
push str._:_delete_raw_file
push edi
call fcn.10004280
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10004340
mov esi, 0xfffffff5
jmp 0x1000be44
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x108]
call fcn.10001970
mov esi, dword [ebp - 0x108]
mov byte [ebp - 4], 9
cmp dword [esi - 4], 1
jle 0x1000b94a
push dword [esi - 0xc]
lea ecx, [ebp - 0x108]
call fcn.10001ac0
mov esi, dword [ebp - 0x108]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [esi - 8]
push esi
call fcn.100e4e6b
add esp, 8
test eax, eax
js 0x1000bedc
cmp eax, dword [esi - 8]
jg 0x1000bedc
xor ecx, ecx
mov dword [esi - 0xc], eax
push ecx
push esi
mov word [esi + eax*2], cx
push dword [ebp - 0x104]
call fcn.1006a1b0
test eax, eax
jns 0x1000ba1c
call fcn.1005b270
test eax, eax
je 0x1000ba07
call fcn.1005b270
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000ba07
mov esi, dword [edi + 8]
call fcn.1005b270
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10003680
mov edi, eax
push 0x1011b194
push edi
mov byte [ebp - 4], 0xa
call fcn.100096e0
test esi, esi
mov ecx, 0x1011b000
cmovne ecx, esi
push ecx
push edi
call fcn.100096e0
push str._:_extract_file
push edi
call fcn.10004280
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10004340
lea ecx, [ebp - 0x108]
mov esi, 0xfffffff4
call fcn.10001db0
jmp 0x1000be44
push dword [ebp - 0x118]
call fcn.1000e4e0
add esp, 4
push 1
push dword [ebp - 0x104]
test eax, eax
je 0x1000bad2
call fcn.1000aea0
add esp, 8
call fcn.1005b270
test eax, eax
je 0x1000babd
call fcn.1005b270
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000babd
mov esi, dword [edi + 8]
call fcn.1005b270
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10003680
mov edi, eax
push 0x1011b194
push edi
mov byte [ebp - 4], 0xb
call fcn.100096e0
test esi, esi
mov ecx, 0x1011b000
cmovne ecx, esi
push ecx
push edi
call fcn.100096e0
push str._:_user_cancel
push edi
call fcn.10004280
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10004340
lea ecx, [ebp - 0x108]
mov esi, 0xfffffff3
call fcn.10001db0
jmp 0x1000be44
call fcn.1000aea0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x108]
call fcn.10001db0
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [edi + 0x10]
call eax
test eax, eax
jne 0x1000bb80
call fcn.1005b270
test eax, eax
je 0x1000bb76
call fcn.1005b270
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000bb76
mov esi, dword [edi + 8]
call fcn.1005b270
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10003680
mov edi, eax
push 0x1011b194
push edi
mov byte [ebp - 4], 0xc
call fcn.100096e0
test esi, esi
mov ecx, 0x1011b000
cmovne ecx, esi
push ecx
push edi
call fcn.100096e0
push str._:_file_not_found
push edi
call fcn.10004280
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10004340
mov esi, 0xfffffffc
jmp 0x1000be44
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 0x10]
movups xmmword [ebp - 0x20], xmm0
call fcn.10009b50
add esp, 8
test eax, eax
jne 0x1000bc23
call fcn.1005b270
test eax, eax
je 0x1000bc19
call fcn.1005b270
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000bc19
mov esi, dword [edi + 8]
call fcn.1005b270
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10003680
mov edi, eax
push 0x1011b194
push edi
mov byte [ebp - 4], 0xd
call fcn.100096e0
test esi, esi
mov ecx, 0x1011b000
cmovne ecx, esi
push ecx
push edi
call fcn.100096e0
push str._:_calc_md5
push edi
call fcn.10004280
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10004340
mov esi, 0xfffffffb
jmp 0x1000be44
push 0x42
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.100dd9d0
push 0x21
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10009a60
add esp, 0x18
test eax, eax
jne 0x1000bccf
call fcn.1005b270
test eax, eax
je 0x1000bcc5
call fcn.1005b270
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000bcc5
mov esi, dword [edi + 8]
call fcn.1005b270
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10003680
mov edi, eax
push 0x1011b194
push edi
mov byte [ebp - 4], 0xe
call fcn.100096e0
test esi, esi
mov ecx, 0x1011b000
cmovne ecx, esi
push ecx
push edi
call fcn.100096e0
push 0x1011b274
push edi
call fcn.10004280
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10004340
mov esi, 0xfffffffa
jmp 0x1000be44
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 0x1000bce0
sub edx, esi
lea eax, [ebp - 0x64]
sar edx, 1
push edx
push eax
call fcn.10001c80
call fcn.1005b270
test eax, eax
je 0x1000bd7e
call fcn.1005b270
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000bd7e
mov esi, dword [edi + 8]
call fcn.1005b270
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10003680
mov edi, eax
push str.ok_Download_
push edi
mov byte [ebp - 4], 0xf
call fcn.100096e0
test esi, esi
mov ecx, 0x1011b000
cmovne ecx, esi
push ecx
push edi
call fcn.100096e0
push str._:_md5
push edi
call fcn.10004280
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.100096e0
mov ecx, dword [ebp - 0x100]
add esp, 0x20
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10004340
xor esi, esi
jmp 0x1000be44
mov esi, dword [ebp - 0x110]
mov byte [ebp - 4], 1
test esi, esi
je 0x1000bdb4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1000bdb4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1000bdb4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 1
push dword [ebp - 0x104]
call fcn.1000aea0
add esp, 8
call fcn.1005b270
test eax, eax
je 0x1000be3f
call fcn.1005b270
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000be3f
mov esi, dword [edi + 8]
call fcn.1005b270
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], eax
call fcn.10003680
mov edi, eax
push 0x1011b194
push edi
mov byte [ebp - 4], 6
call fcn.100096e0
test esi, esi
mov ecx, 0x1011b000
cmovne ecx, esi
push ecx
push edi
call fcn.100096e0
push str._:_sync_download_file
push edi
call fcn.10004280
mov ecx, dword [ebp - 0x100]
add esp, 0x18
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xfc]
call fcn.10004340
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 0x1000be68
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 0x1000be8a
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.10067a9c
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100017c0
push 0x80
lea eax, [ebp - 0xe4]
push eax
push dword [ebp - 0xe8]
call fcn.1000a2d0
add esp, 0xc
call fcn.1000b090
push 0x80004005
call fcn.100017c0
push 0x80070057
call fcn.100017c0
int3