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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521d31
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x56e910]
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.0043dd50
add esp, 0xc
push 8
call fcn.004e45e1
add esp, 4
test eax, eax
je 0x427204
mov dword [eax], 0
mov byte [eax + 4], 0
jmp 0x427206
xor eax, eax
xorps xmm0, xmm0
mov dword [ebx], eax
lea edx, [ebp - 0x60]
movlpd qword [ebp - 0x60], xmm0
mov ecx, esi
call fcn.00426900
mov edi, dword [ebp - 0x60]
test al, al
je 0x427268
cmp dword [ebp - 0x5c], 0
jl 0x427268
jg 0x42722d
test edi, edi
je 0x427268
cmp dword [esi + 0x14], 0x10
jb 0x427237
mov eax, dword [esi]
jmp 0x427239
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 0x427291
cmp dword [esi + 0x14], 0x10
jb 0x427272
mov eax, dword [esi]
jmp 0x427274
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 0x4272ee
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.004458f0
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x4272b4
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.0043dd50
add esp, 0x14
cmp dword [ebp - 0x70], 8
jb 0x4272e7
push dword [ebp - 0x84]
call fcn.00488e20
add esp, 4
xor bl, bl
jmp 0x4276c1
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 0x427318
mov dword [ebp - 0x38], ecx
jmp 0x42732e
lea eax, [ebp + 0x10]
cmp ecx, eax
mov eax, dword [ecx]
jne 0x427327
lea edx, [ebp - 0x48]
push edx
jmp 0x427329
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.004a7de0
mov edi, eax
mov dword [ebp - 0x6c], edi
test edi, edi
jne 0x427363
push str.curl_init_error
push 0x1e0
push str.LDCurlDownloader::downloadFile
call fcn.0043dd50
add esp, 0xc
xor bl, bl
jmp 0x42769e
test esi, esi
jl 0x42737d
mov eax, dword [ebp - 0x60]
jg 0x427370
test eax, eax
je 0x42737d
push esi
push eax
push 0x15
push edi
call fcn.004a7e90
add esp, 0x10
xorps xmm0, xmm0
push 0
movq qword [ebp - 0x18], xmm0
push 0
mov dword [ebp - 0x14], 0
call fcn.00425500
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.004a8260
push str.User_Agent:_Mozilla_5.0
push eax
call fcn.004a8260
mov esi, dword [esi]
add esp, 0x10
mov dword [ebp - 0x5c], eax
cmp esi, dword [ebp - 0x18]
je 0x427426
mov ebx, dword [ebp - 0x18]
mov edi, eax
jmp 0x4273d0
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.004091b0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push edi
call fcn.004a8260
add esp, 8
mov edi, eax
cmp dword [ebp - 0x1c], 0x10
jb 0x42741a
push dword [ebp - 0x30]
call fcn.00488e20
add esp, 4
mov esi, dword [esi]
cmp esi, ebx
jne 0x4273d0
mov edi, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x64]
push 0x426a00
push 0x4e2b
push edi
call fcn.004a7e90
add esp, 0xc
push dword [ebx]
push 0x2711
push edi
call fcn.004a7e90
add esp, 0xc
push 1
push 0x34
push edi
call fcn.004a7e90
add esp, 0xc
push 0
push 0x40
push edi
call fcn.004a7e90
add esp, 0xc
push 0
push 0x51
push edi
call fcn.004a7e90
add esp, 0xc
push 0
push 0x1400000
push 0x75c2
push edi
call fcn.004a7e90
push 5
push 0x44
push edi
call fcn.004a7e90
add esp, 0x1c
push 1
push 0x4b
push edi
call fcn.004a7e90
add esp, 0xc
push 0xfa0
push 0x9c
push edi
call fcn.004a7e90
add esp, 0xc
push 0x1b7740
push 0x9b
push edi
call fcn.004a7e90
add esp, 0xc
push 1
push 0x63
push edi
call fcn.004a7e90
add esp, 0xc
push 0
push 0x2b
push edi
call fcn.004a7e90
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push 0x2749
push edi
call fcn.004a7e90
add esp, 0xc
push 0x426a80
push 0x4e58
push edi
call fcn.004a7e90
mov ebx, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebx + 0x14], 0x10
jb 0x42750e
mov eax, dword [ebx]
jmp 0x427510
mov eax, ebx
push eax
push 0x2712
push edi
call fcn.004a7e90
add esp, 0xc
push edi
call fcn.004a7e80
add esp, 4
test eax, eax
je 0x42763e
push eax
call fcn.004a8a70
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 0x427556
xor ecx, ecx
jmp 0x427569
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x427560
mov al, byte [ecx]
inc ecx
test al, al
jne 0x427560
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.004095a0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 4
push ebx
push eax
call fcn.004458f0
mov esi, eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004458f0
add esp, 0x10
mov byte [ebp - 4], 6
cmp dword [esi + 0x14], 8
jb 0x4275a9
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x4275b1
mov eax, dword [eax]
push esi
push eax
push str.curl_download_error__s__s
push 0x20a
push str.LDCurlDownloader::downloadFile
call fcn.0043dd50
add esp, 0x14
cmp dword [ebp - 0x88], 8
jb 0x4275e1
push dword [ebp - 0x9c]
call fcn.00488e20
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 0x427612
push dword [ebp - 0x84]
call fcn.00488e20
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 0x42763a
push dword [ebp - 0x30]
call fcn.00488e20
add esp, 4
xor bl, bl
jmp 0x427657
push str.curl_download__file_sucess
push 0x20e
push str.LDCurlDownloader::downloadFile
call fcn.0043dd50
add esp, 0xc
mov bl, 1
mov esi, dword [ebp - 0x64]
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x427672
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
mov dword [eax], 0xffffffff
push edi
call fcn.004a7dc0
add esp, 4
push dword [esi]
call fcn.00488e20
add esp, 4
mov dword [esi], 0
lea ecx, [ebp - 0x18]
call fcn.004254a0
push dword [ebp - 0x18]
call fcn.00488e20
add esp, 4
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4276c1
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 0x4276e0
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.004e45d2
mov esp, ebp
pop ebp
ret 0x20