Function at 0x47ace0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a29d6
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x621810]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x621810]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
mov edi, ecx
push 0x60d458
push eax
mov dword [esp + 0x28], edi
call fcn.00445760
add esp, 0xc
mov ebx, eax
xor eax, eax
mov dword [esp + 0xa0], eax
mov ecx, dword [edi + 8]
xor edx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], eax
mov word [esp + 0x58], dx
push 0x60d69c
mov byte [esp + 0xa4], 1
call fcn.0048c5ca
add esp, 4
mov ecx, 0x60d69c
lea esi, [esp + 0x58]
call fcn.00401834
push 0
call fcn.0048c2f1
add esp, 4
push edx
push eax
lea esi, [esp + 0x7c]
call fcn.00448ef0
add esp, 8
mov edx, 8
mov byte [esp + 0xa0], 2
cmp dword [ebx + 0x14], edx
jb 0x47adb4
mov ebx, dword [ebx]
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x6c], edx
jae 0x47adc2
lea ecx, [esp + 0x58]
cmp dword [eax + 0x14], edx
jb 0x47adc9
mov eax, dword [eax]
push ebx
push ecx
push eax
lea eax, [esp + 0x48]
push str.__s____s___s
push eax
call fcn.00445760
add esp, 0x14
mov ebx, dword [esp + 0x14]
mov byte [esp + 0xa0], 3
mov esi, dword [ebx + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
push esi
call fcn.00410373
mov ecx, dword [ebx + 8]
mov edx, 0x9249248
sub edx, ecx
cmp edx, 1
jae 0x47ae11
push str.list_T__too_long
call fcn.0048ac2a
inc ecx
mov dword [ebx + 8], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov esi, 8
mov dword [ecx], eax
cmp dword [esp + 0x50], esi
jb 0x47ae35
mov eax, dword [esp + 0x3c]
push eax
call fcn.0048bcc1
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
cmp dword [esp + 0x88], esi
jb 0x47ae60
mov edx, dword [esp + 0x74]
push edx
call fcn.0048bcc1
add esp, 4
cmp dword [esp + 0x6c], esi
jb 0x47ae73
mov eax, dword [esp + 0x58]
push eax
call fcn.0048bcc1
add esp, 4
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x34], esi
jb 0x47ae91
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0048bcc1
add esp, 4
xor edx, edx
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
setne dl
inc edx
mov dword [edi + 0x1b8], edx
call fcn.00476350
mov eax, dword [edi + 8]
mov byte [eax + 0x3d], 1
mov ecx, dword [edi + 8]
call fcn.0047d110
cmp dword [esp + 0x18], ebx
jne 0x47b0ac
mov esi, dword [esp + 0x1c]
lea ebx, [esp + 0x3c]
call fcn.0046f8b0
lea ebx, [esp + 0x20]
mov ecx, esi
mov dword [esp + 0xa0], 4
call fcn.00471ff0
lea ecx, [esp + 0x3c]
push 0xa
push ecx
mov ecx, eax
mov byte [esp + 0xa8], 5
call fcn.0044b010
add esp, 8
test al, al
mov edi, 8
sete bl
mov byte [esp + 0xa0], 4
cmp dword [esp + 0x34], edi
jb 0x47af24
mov edx, dword [esp + 0x20]
push edx
call fcn.0048bcc1
add esp, 4
test bl, bl
je 0x47aff6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, 2
jne 0x47af51
mov ecx, esi
call fcn.0047b320
mov dword [esp + 0x14], 0
jmp 0x47affd
test byte [0x6353fc], 1
jne 0x47af83
or dword [0x6353fc], 1
mov byte [esp + 0xa0], 6
call fcn.004032f6
push 0x5ae29a
call fcn.0048c9f3
add esp, 4
mov byte [esp + 0xa0], 4
mov eax, dword [0x635400]
mov ecx, dword [eax + 8]
push ebx
push 0x60d474
push str.DownloadTask.cpp
push 0x3fe
push 0
push 0x635400
call ecx
add esp, 0x18
test byte [0x6353d0], 1
jne 0x47afd9
or dword [0x6353d0], 1
mov byte [esp + 0xa0], 7
call fcn.004033c3
push 0x5ae2ae
call fcn.0048c9f3
add esp, 4
mov byte [esp + 0xa0], 4
mov edx, dword [0x6353d4]
mov eax, dword [edx + 4]
push ebx
push 0x60d474
push 0
push 0x6353d4
call eax
add esp, 0x10
jmp 0x47affd
mov ecx, esi
call fcn.0047b320
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x50], edi
jb 0x47b01b
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0048bcc1
add esp, 4
mov edi, dword [esp + 0x1c]
xor ebx, ebx
lea esi, [ebx + 8]
mov edx, dword [edi + 0x20]
or edx, dword [edi + 0x24]
je 0x47b03f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x10]
push eax
mov eax, dword [edi + 0x20]
push ecx
push edx
call eax
test byte [0x6353fc], 1
jne 0x47b10d
mov edi, 1
or dword [0x6353fc], edi
mov dword [esp + 0xa0], esi
push 0x635408
mov dword [0x635400], 0x5ff3e8
mov dword [0x635404], ebx
mov dword [0x635420], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0xa0], 9
push esi
mov dword [0x635400], 0x5ff428
call fcn.0048bf08
add esp, 4
cmp eax, ebx
je 0x47b0b9
mov dword [eax], 0xffffffff
mov byte [eax + 4], 1
mov esi, eax
jmp 0x47b0bb
mov dword [esp + 0x14], 3
jmp 0x47b024
xor esi, esi
push 0x635408
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x635404]
add dword [0x635420], edi
cmp eax, ebx
je 0x47b0de
push eax
call fcn.0048bcc1
add esp, 4
sub dword [0x635420], edi
push 0x635408
mov dword [0x635404], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5ae29a
call fcn.0048c9f3
add esp, 4
mov dword [esp + 0xa0], 0xffffffff
mov esi, dword [esp + 0x1c]
lea ebx, [esp + 0x20]
call fcn.0046f8b0
mov esi, 8
mov dword [esp + 0xa0], 0xa
cmp dword [eax + 0x14], esi
jb 0x47b131
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
mov eax, dword [0x635400]
mov ecx, dword [eax + 8]
push str.task:_s_OnTaskCompleted:et__d_ec__d
push str.DownloadTask.cpp
push 0x411
xor ebx, ebx
push ebx
push 0x635400
call ecx
or edi, 0xffffffff
add esp, 0x20
mov dword [esp + 0xa0], edi
cmp dword [esp + 0x34], esi
jb 0x47b17d
mov edx, dword [esp + 0x20]
push edx
call fcn.0048bcc1
add esp, 4
test byte [0x6353d0], 1
jne 0x47b23d
or dword [0x6353d0], 1
mov dword [esp + 0xa0], 0xb
push 0x6353dc
mov dword [0x6353d4], 0x5ff3e8
mov dword [0x6353d8], ebx
mov dword [0x6353f4], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0xa0], 0xc
push esi
mov dword [0x6353d4], 0x5ff408
mov byte [0x6353f8], 1
call fcn.0048bf08
add esp, 4
cmp eax, ebx
je 0x47b1ed
mov dword [eax], edi
mov byte [eax + 4], 1
mov esi, eax
jmp 0x47b1ef
xor esi, esi
push 0x6353dc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x6353d8]
inc dword [0x6353f4]
cmp eax, ebx
je 0x47b212
push eax
call fcn.0048bcc1
add esp, 4
dec dword [0x6353f4]
push 0x6353dc
mov dword [0x6353d8], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5ae2ae
call fcn.0048c9f3
add esp, 4
mov dword [esp + 0xa0], edi
mov esi, dword [esp + 0x1c]
lea ebx, [esp + 0x20]
call fcn.0046f8b0
mov esi, 8
mov dword [esp + 0xa0], 0xd
cmp dword [eax + 0x14], esi
jb 0x47b261
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
mov eax, dword [0x6353d4]
mov ecx, dword [eax + 4]
push str.task:_s_OnTaskCompleted:et__d_ec__d
push 0
push 0x6353d4
call ecx
add esp, 0x18
mov dword [esp + 0xa0], edi
cmp dword [esp + 0x34], esi
jb 0x47b29f
mov edx, dword [esp + 0x20]
push edx
call fcn.0048bcc1
add esp, 4
mov ebx, 1
test byte [0x637f1c], bl
jne 0x47b2d6
or dword [0x637f1c], ebx
mov dword [esp + 0xa0], 0xe
call fcn.0046f940
push 0x5ae9e0
call fcn.0048c9f3
add esp, 4
mov dword [esp + 0xa0], edi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov edi, 0x637f24
call fcn.00471480
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx]
push ebx
call eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0048b951
mov esp, ebp
pop ebp
ret 4