Function at 0x434e00
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f26c2
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x5564b0]
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 edi, ecx
cmp dword [edi + 0x20], 2
jne 0x435237
lea eax, [ebp - 0x6c]
push eax
call fcn.0042eb60
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
jae 0x434e54
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x50]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x434e68
xor esi, esi
jmp 0x434e74
mov esi, dword [ebp - 0x30]
xor eax, eax
xor ebx, ebx
add esi, eax
adc ebx, dword [ebp - 0x34]
lea ecx, [edi + 0x48]
mov dword [ebp - 0xbc], ecx
call fcn.00407340
mov byte [ebp - 4], 1
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
jae 0x434e92
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
jne 0x434f7e
mov ebx, 7
mov dword [edi + 0x20], ecx
mov dword [edi + 0x28], ebx
push edi
lea edi, [ebp - 0x48]
call fcn.0044bff0
mov esi, eax
lea edx, [ebp - 0x158]
push edx
mov byte [ebp - 4], 2
call fcn.00409d60
lea eax, [ebp - 0x158]
push str.NetworkService::DownloadTask::ValidateCompletedTaskAndMarkError
push eax
mov byte [ebp - 4], 3
call fcn.0040da40
lea ecx, [ebp - 0x158]
push str.:_File_for_completed_download_task
push ecx
call fcn.0040da40
lea edx, [ebp - 0x158]
push esi
push edx
call fcn.0040dd00
lea eax, [ebp - 0x158]
push str._does_not_exist.
push eax
call fcn.0040da40
add esp, 0x20
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x158]
call fcn.00408e20
push 2
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004182c0
mov esi, 8
add esp, 4
cmp dword [ebp - 0x18], esi
jb 0x434f45
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049acb7
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 2
call fcn.00408480
cmp dword [ebp - 0x34], esi
jb 0x4351ed
mov eax, dword [ebp - 0x48]
push eax
call fcn.0049acb7
add esp, 4
jmp 0x4351ed
cmp esi, dword [edi + 0xe8]
jne 0x434f92
cmp ebx, dword [edi + 0xec]
je 0x43506f
mov ebx, 6
mov dword [edi + 0x20], ecx
mov dword [edi + 0x28], ebx
push edi
lea edi, [ebp - 0x48]
call fcn.0044bff0
mov esi, eax
lea ecx, [ebp - 0x158]
push ecx
mov byte [ebp - 4], 5
call fcn.00409d60
lea edx, [ebp - 0x158]
push str.NetworkService::DownloadTask::ValidateCompletedTaskAndMarkError
push edx
mov byte [ebp - 4], bl
call fcn.0040da40
lea eax, [ebp - 0x158]
push str.:_File_for_completed_download_task
push eax
call fcn.0040da40
lea ecx, [ebp - 0x158]
push esi
push ecx
call fcn.0040dd00
lea edx, [ebp - 0x158]
push str._size_not_match.
push edx
call fcn.0040da40
add esp, 0x20
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x158]
call fcn.00408e20
mov ebx, 7
push 2
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.004182c0
mov esi, 8
add esp, 4
cmp dword [ebp - 0x18], esi
jb 0x435036
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049acb7
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 5
call fcn.00408480
cmp dword [ebp - 0x34], esi
jb 0x4351ed
mov edx, dword [ebp - 0x48]
push edx
call fcn.0049acb7
add esp, 4
jmp 0x4351ed
cmp dword [edi + 0x18c], 0
je 0x4351ed
cmp dword [edi + 0x178], 0
je 0x43510f
lea eax, [ebp - 0x158]
push eax
call fcn.00409d60
lea ecx, [ebp - 0x158]
push str.Unsupported_checksum_type
push ecx
mov byte [ebp - 4], 8
call fcn.0040da40
mov edx, dword [edi + 0x178]
add esp, 8
push edx
lea ecx, [ebp - 0x158]
call fcn.004137b0
lea esi, [ebp - 0x48]
lea eax, [ebp - 0x158]
call fcn.00408e20
push 2
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.004182c0
add esp, 4
mov ecx, esi
call fcn.004cc710
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 1
call fcn.00408480
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.00408ba0
lea ecx, [ebp - 0x6c]
call fcn.004cc710
jmp 0x435237
lea edx, [ebp - 0x6c]
lea esi, [ebp - 0xb8]
call fcn.00416a80
sub esp, 0x1c
lea eax, [edi + 0x17c]
mov ecx, esp
mov dword [ebp - 0xc0], esp
push eax
mov byte [ebp - 4], 0xa
call fcn.00408500
mov ecx, esi
push ecx
call fcn.00417490
test al, al
jne 0x4351e2
mov dword [edi + 0x20], 0xffffffff
mov dword [edi + 0x28], 1
push edi
lea edi, [ebp - 0x2c]
call fcn.0044bff0
mov esi, eax
lea edx, [ebp - 0x158]
mov bl, 0xb
push edx
mov byte [ebp - 4], bl
call fcn.00409d60
lea eax, [ebp - 0x158]
push str.File_for_completed_download_task
push eax
mov byte [ebp - 4], 0xc
call fcn.0040da40
lea ecx, [ebp - 0x158]
push esi
push ecx
call fcn.0040dd00
lea edx, [ebp - 0x158]
push str._does_not_match_the_stored_checksum.
push edx
call fcn.0040da40
add esp, 0x18
lea esi, [ebp - 0x48]
lea eax, [ebp - 0x158]
call fcn.00408e20
push 2
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.004182c0
add esp, 4
mov ecx, esi
call fcn.004cc710
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], bl
call fcn.00408480
mov ecx, edi
call fcn.004cc710
lea esi, [ebp - 0xb8]
call fcn.00416ac0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
mov eax, closesocket
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x435225
cmp eax, 0x80000000
jle 0x435225
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x435225
call fcn.00407450
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x58], 8
jb 0x435237
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.0049acb7
add esp, 4
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.0049ab39
mov esp, ebp
pop ebp
ret