Function at 0x426677
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x44a520
mov dword [ebp - 8], edi
mov eax, dword [esi + 4]
test eax, eax
je 0x42669a
mov edx, dword [eax]
jmp 0x4266a3
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4266a8
mov edx, dword [ecx]
mov dword [ebp + 8], edx
jmp 0x4266ad
mov edx, edi
mov dword [ebp + 8], edi
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4266b9
mov edi, dword [ecx]
mov dword [ebp - 8], edi
lea ebx, [eax + 0x2c]
test eax, eax
jne 0x426704
mov edi, dword [ecx + 0x10]
lea ebx, [ecx + 0x40]
mov dword [ebp - 0x10], edi
mov edi, dword [ecx + 0x14]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 8]
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
test eax, eax
je 0x426715
xor eax, eax
test ecx, ecx
setne al
add eax, 0x20000150
jmp 0x426724
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
jmp 0x4266d2
cmp dword [esi + 8], 0
mov eax, 0x2000014f
lea ecx, [eax + 3]
cmovne eax, ecx
push dword [ebx]
push str.download
push edi
push edx
push eax
push 2
call fcn.00402297
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
add esp, 0x18
push eax
push edi
call fcn.00443471
test eax, eax
je 0x4267a4
mov eax, dword [ebp - 4]
test al, 1
je 0x4267a4
and eax, 0xfffffffe
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4267a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x57c
push str.apply.cpp
call fcn.0043bd8c
push edi
push str.Failed_to_clear_readonly_bit_on_payload_destination_path:__ls
push esi
call fcn.0043cb9d
add esp, 0xc
jmp 0x42684d
and dword [ebp - 0x20], 0
mov dword [ebp - 0x24], fcn.00425f94
mov dword [ebp - 0x1c], esi
mov eax, dword [ebx]
push 0x62
pop ecx
cmp cx, word [eax]
jne 0x426803
push 0x69
pop ecx
cmp cx, word [eax + 2]
jne 0x426803
push 0x74
pop ecx
cmp cx, word [eax + 4]
jne 0x426803
push 0x73
pop edx
cmp dx, word [eax + 6]
jne 0x426803
movzx ecx, word [eax + 8]
mov dword [ebp + 0xc], 0x3a
cmp word [ebp + 0xc], cx
je 0x4267f6
cmp dx, cx
jne 0x426803
mov ecx, dword [ebp + 0xc]
cmp cx, word [eax + 0xa]
jne 0x426803
push edi
push ebx
lea eax, [ebp - 0x24]
push eax
call fcn.0042a273
jmp 0x426836
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 0x425ead
push eax
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push ebx
call fcn.00445a8c
mov esi, eax
test esi, esi
jns 0x42684d
push edi
push dword [ebx]
push str.Failed_attempt_to_download_URL:__ls_to:__ls
push esi
call fcn.0043cb9d
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8