Function at 0x42d0bc
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push 0x548
mov eax, 0x56841f
call fcn.00539a7a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x514], eax
xor eax, eax
xor edi, edi
mov ebx, 0x206
push ebx
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push edi
push eax
mov dword [ebp - 0x4fc], edi
mov dword [ebp - 0x504], edi
call fcn.00537010
add esp, 0xc
push str.dlist.dat
call fcn.00412e3d
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea eax, [ebp - 0x220]
push eax
call esi
xor eax, eax
push ebx
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push edi
push eax
call fcn.00537010
add esp, 0xc
push str.dlist.dat.bak
call fcn.00412e3d
push eax
lea eax, [ebp - 0x428]
push eax
call esi
call fcn.0042a15a
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x4fc]
push eax
mov esi, 0xa5
push esi
lea eax, [ebp - 0x220]
push eax
call fcn.0042a26b
test eax, eax
jne 0x42d1b6
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d196
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x220]
call fcn.00496ba5
pop ecx
call fcn.0042a15a
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x4fc]
push eax
push esi
lea eax, [ebp - 0x220]
push eax
call fcn.0042a26b
cmp dword [ebp - 0x4fc], edi
je 0x42d714
cmp dword [ebp - 0x504], edi
je 0x42d714
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x428]
call fcn.00496ba5
pop ecx
push 2
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x458]
push eax
xor ebx, ebx
mov dword [ebp - 4], edi
call fcn.004b576b
lea eax, [ebp - 0x4e8]
push eax
mov byte [ebp - 4], 1
call fcn.004b72b9
mov byte [ebp - 4], 2
push dword [ebp - 0x4fc]
lea ecx, [ebp - 0x554]
call fcn.0040319e
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x554]
push eax
lea ebx, [ebp - 0x4e8]
mov byte [ebp - 4], 3
call fcn.004b7302
push 0
push 1
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 2
call fcn.00403211
push dword [ebp - 0x4fc]
call fcn.00530cbd
cmp byte [ebp - 0x450], 0
pop ecx
je 0x42d6f9
lea eax, [ebp - 0x458]
call fcn.004b64c5
test al, al
je 0x42d6f9
mov edx, str.items
lea ecx, [ebp - 0x458]
call fcn.004b61b1
mov esi, eax
cmp byte [esi + 8], 0
mov dword [ebp - 0x50c], esi
je 0x42d6f9
call fcn.004b64b3
test al, al
je 0x42d6f9
and dword [ebp - 0x4fc], 0
mov eax, esi
call fcn.004b5f32
cmp dword [ebp - 0x4fc], eax
jae 0x42d6f9
push dword [ebp - 0x4fc]
mov ecx, esi
call fcn.004b5f82
mov esi, eax
cmp byte [esi + 8], 0
je 0x42d451
call fcn.004b64c5
test al, al
je 0x42d451
mov edx, 0x57fb34
mov ecx, esi
call fcn.004b61b1
cmp byte [eax + 8], 4
jne 0x42d451
mov eax, dword [eax]
test eax, eax
je 0x42d451
push eax
lea eax, [ebp - 0x4ec]
push eax
call fcn.004a3c53
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4ec]
cmp dword [eax - 0xc], 0
jne 0x42d339
mov byte [ebp - 4], 2
jmp 0x42d449
mov edx, str.referer
mov ecx, esi
call fcn.004b61b1
cmp byte [eax + 8], 4
jne 0x42d43f
mov eax, dword [eax]
test eax, eax
je 0x42d43f
push eax
lea eax, [ebp - 0x4f0]
push eax
call fcn.004a3c53
pop ecx
pop ecx
mov edx, str.username
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004b61b1
cmp byte [eax + 8], 4
jne 0x42d431
mov eax, dword [eax]
test eax, eax
je 0x42d431
push eax
lea eax, [ebp - 0x4f4]
push eax
call fcn.004a3c53
pop ecx
pop ecx
mov edx, str.password
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004b61b1
cmp byte [eax + 8], 4
jne 0x42d423
mov eax, dword [eax]
test eax, eax
je 0x42d423
push eax
lea eax, [ebp - 0x4f8]
push eax
call fcn.004a3c53
pop ecx
pop ecx
mov edx, str.filepath
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.004b61b1
cmp byte [eax + 8], 4
jne 0x42d415
mov eax, dword [eax]
test eax, eax
je 0x42d415
push eax
lea eax, [ebp - 0x500]
push eax
call fcn.004a3c53
pop ecx
pop ecx
mov edx, str.filecreate
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004b61b1
cmp byte [eax + 8], 1
je 0x42d462
mov eax, dword [ebp - 0x500]
add eax, 0xfffffff0
call fcn.00407d09
mov eax, dword [ebp - 0x4f8]
add eax, 0xfffffff0
call fcn.00407d09
mov eax, dword [ebp - 0x4f4]
add eax, 0xfffffff0
call fcn.00407d09
mov eax, dword [ebp - 0x4f0]
add eax, 0xfffffff0
call fcn.00407d09
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4ec]
add eax, 0xfffffff0
call fcn.00407d09
inc dword [ebp - 0x4fc]
mov esi, dword [ebp - 0x50c]
jmp 0x42d2b8
mov ecx, eax
call fcn.004b5ba6
mov edx, str.canrename
mov ecx, esi
mov dword [ebp - 0x504], eax
call fcn.004b61b1
cmp byte [eax + 8], 1
jne 0x42d407
mov ecx, eax
call fcn.004b5ba6
mov edx, str.openatcomplete
mov ecx, esi
mov dword [ebp - 0x510], eax
call fcn.004b61b1
cmp byte [eax + 8], 1
jne 0x42d407
mov ecx, eax
call fcn.004b5ba6
mov edx, str.taskstate
mov ecx, esi
mov dword [ebp - 0x518], eax
call fcn.004b61b1
cmp byte [eax + 8], 1
jne 0x42d407
mov ecx, eax
call fcn.004b5ba6
mov edx, str.timecreate
mov ecx, esi
mov edi, eax
call fcn.004b61b1
push 3
pop ebx
cmp byte [eax + 8], bl
jne 0x42d407
push eax
call fcn.004b5e2e
fstp qword [ebp - 0x538]
mov edx, str.timefinish
mov ecx, esi
call fcn.004b61b1
cmp byte [eax + 8], bl
jne 0x42d407
push eax
call fcn.004b5e2e
fstp qword [ebp - 0x530]
mov edx, str.length
mov ecx, esi
call fcn.004b61b1
cmp byte [eax + 8], bl
jne 0x42d407
push eax
call fcn.004b5e2e
fstp qword [ebp - 0x520]
mov edx, str.receivedlength
mov ecx, esi
call fcn.004b61b1
cmp byte [eax + 8], bl
jne 0x42d407
push eax
call fcn.004b5e2e
fstp qword [ebp - 0x528]
push 0x6400
call fcn.0052fe0a
pop ecx
test eax, eax
je 0x42d571
mov esi, eax
call fcn.0042bdde
mov esi, eax
jmp 0x42d573
xor esi, esi
mov dword [ebp - 0x508], esi
test esi, esi
je 0x42d407
push dword [ebp - 0x4ec]
push 0x57cb68
push 0x823
push esi
call fcn.00532a01
push dword [ebp - 0x4f0]
lea eax, [esi + 0x1048]
push 0x57cb68
push 0x823
push eax
call fcn.00532a01
push dword [ebp - 0x4f4]
lea eax, [esi + 0x5d9c]
push 0x57cb68
push 0x103
push eax
call fcn.00532a01
push dword [ebp - 0x4f8]
lea eax, [esi + 0x5fa4]
push 0x57cb68
push 0x103
push eax
call fcn.00532a01
add esp, 0x40
push dword [ebp - 0x500]
lea eax, [esi + 0x61ac]
push 0x57cb68
push 0x103
push eax
call fcn.00532a01
fld qword [ebp - 0x520]
fld qword [0x591c18]
add esp, 0x10
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x42d62b
or edx, 0xffffffff
mov eax, edx
jmp 0x42d636
fld qword [ebp - 0x520]
call fcn.00538bc6
fld qword [ebp - 0x528]
mov dword [esi + 0x63b8], eax
fucompp
mov dword [esi + 0x63bc], edx
fnstsw ax
test ah, 0x44
jp 0x42d658
or edx, 0xffffffff
mov eax, edx
jmp 0x42d663
fld qword [ebp - 0x528]
call fcn.00538bc6
mov dword [esi + 0x63c0], eax
mov eax, dword [ebp - 0x504]
mov dword [esi + 0x63c4], edx
mov dword [esi + 0x63c8], eax
mov eax, dword [ebp - 0x510]
mov dword [esi + 0x63e4], eax
mov eax, ebx
cmp edi, 2
je 0x42d690
mov eax, edi
fld qword [ebp - 0x538]
mov dword [esi + 0x63cc], eax
call fcn.00538bc6
fld qword [ebp - 0x530]
mov dword [esi + 0x63d0], eax
mov dword [esi + 0x63d4], edx
call fcn.00538bc6
mov ecx, dword [ebp - 0x514]
mov dword [esi + 0x63d8], eax
mov eax, dword [ebp - 0x518]
mov dword [esi + 0x63dc], edx
mov dword [esi + 0x63e0], eax
mov eax, dword [ecx + 4]
lea edx, [eax + 1]
mov dword [ecx + 4], edx
mov dword [esi + 0x63e8], eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ecx + 0x10]
call fcn.004953e8
jmp 0x42d407
lea eax, [ebp - 0x4e8]
call fcn.0042d722
lea eax, [ebp - 0x458]
push eax
mov byte [ebp - 4], 0
call fcn.004b59f1
call fcn.00539ad6
ret 4