Function at 0x42b07c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 8], 0
mov eax, 0x4508e4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42b09f
mov eax, dword [ecx]
jmp 0x42b0a8
mov edx, dword [esi + 8]
test edx, edx
je 0x42b0a8
mov eax, dword [edx]
mov edx, dword [esi + 0xc]
mov dword [ebp - 4], eax
test edx, edx
je 0x42b0b7
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
lea ebx, [ecx + 0x2c]
test ecx, ecx
jne 0x42b0f7
mov eax, dword [edx + 0x10]
lea ebx, [edx + 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x14]
and dword [ebp - 0x20], 0
lea edi, [ebp - 0x2c]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test ecx, ecx
je 0x42b102
xor eax, eax
test edx, edx
setne al
add eax, 0x20000150
jmp 0x42b111
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x1c]
jmp 0x42b0ca
mov eax, dword [esi + 8]
neg eax
sbb eax, eax
and eax, 3
add eax, 0x2000014f
push dword [ebx]
push str.download
push dword [ebp - 0xc]
push dword [ebp - 4]
push eax
push 2
call fcn.00405721
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
add esp, 0x18
push eax
push edi
call fcn.00449255
test eax, eax
je 0x42b195
mov eax, dword [ebp - 8]
test al, 1
je 0x42b195
and eax, 0xfffffffe
push eax
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x42b195
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42b16a
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x42b171
mov esi, 0x80004005
push esi
push 0x588
push str.c:_agent_work18_swix_src_burnengine_apply.cpp
call fcn.00403953
push edi
push str.Failed_to_clear_readonly_bit_on_payload_destination_path:__ls
push esi
call fcn.0044466b
add esp, 0xc
jmp 0x42b23e
and dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], fcn.0042a850
mov dword [ebp - 0x24], esi
mov eax, dword [ebx]
push 0x62
pop ecx
cmp cx, word [eax]
jne 0x42b1f4
push 0x69
pop ecx
cmp cx, word [eax + 2]
jne 0x42b1f4
push 0x74
pop ecx
cmp cx, word [eax + 4]
jne 0x42b1f4
push 0x73
pop edx
cmp dx, word [eax + 6]
jne 0x42b1f4
movzx ecx, word [eax + 8]
mov dword [ebp - 0x10], 0x3a
cmp word [ebp - 0x10], cx
je 0x42b1e7
cmp dx, cx
jne 0x42b1f4
mov ecx, dword [ebp - 0x10]
cmp cx, word [eax + 0xa]
jne 0x42b1f4
push edi
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.0042ef25
jmp 0x42b227
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], 0x42a750
push eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push ebx
call fcn.0044b2a7
mov esi, eax
test esi, esi
jns 0x42b23e
push edi
push dword [ebx]
push str.Failed_attempt_to_download_URL:__ls_to:__ls
push esi
call fcn.0044466b
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8