Function at 0x58cbb0
Capabilities:
Check if file exists
Download url
Move file
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a803c
mov eax, dword fs:[0]
push eax
mov eax, 0x266f4
call fcn.004855d0
mov eax, dword [0x62b370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x26700], ecx
mov dword [ebp - 0x266e0], 0
mov dword [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.004275c0
push eax
call fcn.004b4e47
add esp, 4
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x230]
call fcn.0042f050
mov byte [ebp - 4], 2
mov dword [ebp - 0x266dc], 0
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x278]
push edx
call fcn.004b85c9
add esp, 8
mov dword [ebp - 0x266f0], eax
mov ecx, dword [ebp - 0x266f0]
call fcn.00427720
push eax
lea eax, [ebp - 0x8a8]
push eax
call fcn.004dc9a0
add esp, 8
lea ecx, [ebp - 0x278]
call fcn.00427780
lea ecx, [ebp + 0x24]
push ecx
lea edx, [ebp - 0x290]
push edx
call fcn.004b85c9
add esp, 8
mov dword [ebp - 0x266f4], eax
mov ecx, dword [ebp - 0x266f4]
call fcn.00427720
push eax
lea eax, [ebp - 0x6a8]
push eax
call fcn.004dc9a0
add esp, 8
lea ecx, [ebp - 0x290]
call fcn.00427780
lea ecx, [ebp - 0x266d8]
call fcn.004bf4a9
mov byte [ebp - 4], 3
sub esp, 0x300
mov ecx, 0xc0
lea esi, [ebp - 0x8a8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x266d8]
call fcn.004bf507
lea ecx, [ebp - 0x266d8]
call fcn.004bfdcc
lea ecx, [ebp - 0x5a8]
call fcn.004307a0
xorps xmm0, xmm0
movsd qword [ebp - 0x266ec], xmm0
mov ecx, 1
test ecx, ecx
je 0x58cd6b
lea ecx, [ebp - 0x266d8]
call fcn.004bfb2b
test eax, eax
je 0x58cd36
lea edx, [ebp - 0x5a8]
push edx
lea ecx, [ebp - 0x266d8]
call fcn.004bf8ad
movsd xmm0, qword [ebp - 0x298]
movsd qword [ebp - 0x266ec], xmm0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x266d8]
call fcn.004bfb37
test eax, eax
je 0x58cd69
lea eax, [ebp - 0x5a8]
push eax
lea ecx, [ebp - 0x266d8]
call fcn.004bf8ad
movsd xmm0, qword [ebp - 0x298]
movsd qword [ebp - 0x266ec], xmm0
jmp 0x58cd6b
jmp 0x58ccf4
mov dword [ebp - 0x266e4], 1
movsd xmm0, qword [ebp - 0x266ec]
ucomisd xmm0, qword [ebp - 0x2a0]
lahf
test ah, 0x44
jp 0x58cda1
movsd xmm0, qword [ebp - 0x266ec]
ucomisd xmm0, qword [0x6195e8]
lahf
test ah, 0x44
jp 0x58cded
mov dword [ebp - 0x266e4], 0
movsd xmm0, qword [ebp - 0x266ec]
ucomisd xmm0, qword [0x6195e8]
lahf
test ah, 0x44
jnp 0x58cdeb
movsd xmm0, qword [ebp - 0x2a0]
ucomisd xmm0, qword [0x6195f0]
lahf
test ah, 0x44
jp 0x58cdeb
mov dword [ebp - 0x266e4], 1
mov dword [ebp - 0x266dc], 1
jmp 0x58cdf7
mov dword [ebp - 0x266dc], 1
cmp dword [ebp - 0x266dc], 0
jne 0x58cf03
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.004d7c10
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp + 0xc]
call fcn.004275c0
push eax
call fcn.004b5976
add esp, 8
lea ecx, [ebp + 0x24]
call fcn.004275c0
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.004b5a99
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x266fc]
call fcn.004430d0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xc]
call fcn.004275c0
push eax
lea ecx, [ebp - 0x260]
call fcn.004276b0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x266fc]
call fcn.004431a0
movzx ecx, al
mov dword [ebp - 0x266dc], ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x260]
call fcn.00427660
cmp dword [ebp - 0x266dc], 0
je 0x58cee5
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x248]
call fcn.00427600
lea ecx, [ebp + 0x24]
call fcn.004275c0
push eax
lea ecx, [ebp - 0x248]
call fcn.004275c0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x266fc]
call fcn.00443190
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.00427660
cmp dword [ebp - 0x266dc], 0
jne 0x58cf33
push 0
push 0
lea ecx, [ebp - 0x230]
call fcn.004275c0
push eax
lea ecx, [ebp + 0xc]
call fcn.004275c0
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [ebp - 0x266dc], eax
lea ecx, [ebp - 0x230]
call fcn.004275c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58cfa3
push 0x603d34
mov ecx, dword [ebp + 8]
call fcn.004276b0
mov eax, dword [ebp - 0x266e0]
or eax, 1
mov dword [ebp - 0x266e0], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x266d8]
call fcn.004bf502
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00427660
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00427660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00427660
mov eax, dword [ebp + 8]
jmp 0x58cffd
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042ef80
mov edx, dword [ebp - 0x266e0]
or edx, 1
mov dword [ebp - 0x266e0], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x266d8]
call fcn.004bf502
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00427660
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00427660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00427660
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484636
mov esp, ebp
pop ebp
ret 0x34