Function at 0x4249a0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d601
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x569910]
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, ecx
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x68], eax
push str.LDCurlDownloader::downloadfile_start
push 0x1bb
push str.LDCurlDownloader::downloadFile
mov dword [ebp - 4], 0
call fcn.00439ce0
add esp, 0xc
push 8
call fcn.004e0231
add esp, 4
test eax, eax
je 0x424a14
mov dword [eax], 0
mov byte [eax + 4], 0
jmp 0x424a16
xor eax, eax
xorps xmm0, xmm0
mov dword [ebx], eax
lea edx, [ebp - 0x60]
movlpd qword [ebp - 0x60], xmm0
mov ecx, esi
call fcn.00424110
mov edi, dword [ebp - 0x60]
test al, al
je 0x424a78
cmp dword [ebp - 0x5c], 0
jl 0x424a78
jg 0x424a3d
test edi, edi
je 0x424a78
cmp dword [esi + 0x14], 0x10
jb 0x424a47
mov eax, dword [esi]
jmp 0x424a49
mov eax, esi
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebx]
push 2
push 0
push 0
mov dword [ecx], eax
mov eax, dword [ebx]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x424aa1
cmp dword [esi + 0x14], 0x10
jb 0x424a82
mov eax, dword [esi]
jmp 0x424a84
mov eax, esi
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebx]
mov dword [ecx], eax
mov eax, dword [ebx]
cmp dword [eax], 0xffffffff
jne 0x424afe
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.00441850
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x424ac4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.open_file_error__error:_d__s
push 0x1d5
push str.LDCurlDownloader::downloadFile
call fcn.00439ce0
add esp, 0x14
cmp dword [ebp - 0x70], 8
jb 0x424af7
push dword [ebp - 0x84]
call fcn.00489d40
add esp, 4
xor bl, bl
jmp 0x424ed1
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x54], 0
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x20]
test ecx, ecx
jne 0x424b28
mov dword [ebp - 0x38], ecx
jmp 0x424b3e
lea eax, [ebp + 0x10]
cmp ecx, eax
mov eax, dword [ecx]
jne 0x424b37
lea edx, [ebp - 0x48]
push edx
jmp 0x424b39
push 0
call dword [eax]
mov dword [ebp - 0x38], eax
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], esi
call fcn.004a3a00
mov edi, eax
mov dword [ebp - 0x6c], edi
test edi, edi
jne 0x424b73
push str.curl_init_error
push 0x1e0
push str.LDCurlDownloader::downloadFile
call fcn.00439ce0
add esp, 0xc
xor bl, bl
jmp 0x424eae
test esi, esi
jl 0x424b8d
mov eax, dword [ebp - 0x60]
jg 0x424b80
test eax, eax
je 0x424b8d
push esi
push eax
push 0x15
push edi
call fcn.004a3ab0
add esp, 0x10
xorps xmm0, xmm0
push 0
movq qword [ebp - 0x18], xmm0
push 0
mov dword [ebp - 0x14], 0
call fcn.00422cf0
mov esi, eax
mov dword [ebp - 0x18], esi
push str.Content_Type:_application_x_www_form_urlencoded
push 0
mov byte [ebp - 4], 3
call fcn.004a3e80
push str.User_Agent:_Mozilla_5.0
push eax
call fcn.004a3e80
mov esi, dword [esi]
add esp, 0x10
mov dword [ebp - 0x5c], eax
cmp esi, dword [ebp - 0x18]
je 0x424c36
mov ebx, dword [ebp - 0x18]
mov edi, eax
jmp 0x424be0
push 0xffffffffffffffff
lea ecx, [esi + 8]
mov dword [ebp - 0x1c], 0xf
push 0
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.00408bc0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push edi
call fcn.004a3e80
add esp, 8
mov edi, eax
cmp dword [ebp - 0x1c], 0x10
jb 0x424c2a
push dword [ebp - 0x30]
call fcn.00489d40
add esp, 4
mov esi, dword [esi]
cmp esi, ebx
jne 0x424be0
mov edi, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x64]
push 0x424210
push 0x4e2b
push edi
call fcn.004a3ab0
add esp, 0xc
push dword [ebx]
push 0x2711
push edi
call fcn.004a3ab0
add esp, 0xc
push 1
push 0x34
push edi
call fcn.004a3ab0
add esp, 0xc
push 0
push 0x40
push edi
call fcn.004a3ab0
add esp, 0xc
push 0
push 0x51
push edi
call fcn.004a3ab0
add esp, 0xc
push 0
push 0x1400000
push 0x75c2
push edi
call fcn.004a3ab0
push 5
push 0x44
push edi
call fcn.004a3ab0
add esp, 0x1c
push 1
push 0x4b
push edi
call fcn.004a3ab0
add esp, 0xc
push 0xfa0
push 0x9c
push edi
call fcn.004a3ab0
add esp, 0xc
push 0x1b7740
push 0x9b
push edi
call fcn.004a3ab0
add esp, 0xc
push 1
push 0x63
push edi
call fcn.004a3ab0
add esp, 0xc
push 0
push 0x2b
push edi
call fcn.004a3ab0
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push 0x2749
push edi
call fcn.004a3ab0
add esp, 0xc
push 0x424290
push 0x4e58
push edi
call fcn.004a3ab0
mov ebx, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebx + 0x14], 0x10
jb 0x424d1e
mov eax, dword [ebx]
jmp 0x424d20
mov eax, ebx
push eax
push 0x2712
push edi
call fcn.004a3ab0
add esp, 0xc
push edi
call fcn.004a3aa0
add esp, 4
test eax, eax
je 0x424e4e
push eax
call fcn.004a46a0
mov edx, eax
mov dword [ebp - 0x1c], 0xf
add esp, 4
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
cmp byte [edx], 0
jne 0x424d66
xor ecx, ecx
jmp 0x424d79
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x424d70
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424d70
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00408fb0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 4
push ebx
push eax
call fcn.00441850
mov esi, eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00441850
add esp, 0x10
mov byte [ebp - 4], 6
cmp dword [esi + 0x14], 8
jb 0x424db9
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x424dc1
mov eax, dword [eax]
push esi
push eax
push str.curl_download_error__s__s
push 0x20a
push str.LDCurlDownloader::downloadFile
call fcn.00439ce0
add esp, 0x14
cmp dword [ebp - 0x88], 8
jb 0x424df1
push dword [ebp - 0x9c]
call fcn.00489d40
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], 7
cmp dword [ebp - 0x70], 8
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], ax
jb 0x424e22
push dword [ebp - 0x84]
call fcn.00489d40
add esp, 4
xor eax, eax
mov dword [ebp - 0x70], 7
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x74], 0
mov word [ebp - 0x84], ax
jb 0x424e4a
push dword [ebp - 0x30]
call fcn.00489d40
add esp, 4
xor bl, bl
jmp 0x424e67
push str.curl_download__file_sucess
push 0x20e
push str.LDCurlDownloader::downloadFile
call fcn.00439ce0
add esp, 0xc
mov bl, 1
mov esi, dword [ebp - 0x64]
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x424e82
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
mov dword [eax], 0xffffffff
push edi
call fcn.004a39e0
add esp, 4
push dword [esi]
call fcn.00489d40
add esp, 4
mov dword [esi], 0
lea ecx, [ebp - 0x18]
call fcn.00422c90
push dword [ebp - 0x18]
call fcn.00489d40
add esp, 4
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x424ed1
mov edx, dword [ecx]
lea eax, [ebp - 0x48]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x424ef0
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, bl
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.004e0222
mov esp, ebp
pop ebp
ret 0x20