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

Disassembly:
push 0x54
mov eax, 0x482d79
call fcn.00460309
mov edi, ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x488c50
call fcn.00404279
lea eax, [ebp - 0x24]
push 4
push eax
call fcn.00427627
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0043deb6
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042debc
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0042e9c8
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004039fe
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401240
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], ebx
je 0x42eddf
push ebx
push str.download_image_error
mov ecx, edi
call fcn.0040364d
test eax, eax
jge 0x42eddf
lea eax, [ebp - 0x30]
push eax
mov esi, 0x491964
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], ebx
call fcn.0040c7cc
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004036f7
mov byte [ebp - 4], 7
jmp 0x42eb64
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004039fe
lea eax, [ebp - 0x30]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040c7cc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.004039fe
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.00401240
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], ebx
jne 0x42eb2b
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 0xc], ebx
jle 0x42ebad
mov byte [ebp - 4], 9
cmp byte [0x4ae29e], bl
je 0x42ebc8
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x40], esp
mov ecx, esp
push eax
call fcn.004036f7
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xa
call fcn.004036f7
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.0042e521
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401240
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401240
jmp 0x42eea6
call fcn.0043deb6
push eax
lea ecx, [ebp - 0x28]
call fcn.0042debc
mov byte [ebp - 4], 0xb
call fcn.0043deb6
push eax
lea ecx, [ebp - 0x30]
call fcn.0042debc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
mov byte [ebp - 4], 0xc
call fcn.0044dfe3
cmp eax, ebx
je 0x42edbe
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0044da36
push ebx
push ebx
push ebx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
call fcn.0044e41f
push 0x20000000
push ebx
push ebx
push 1
push ebx
push dword [ebp - 0x30]
mov ecx, eax
push 1
mov dword [ebp - 0x40], ecx
call fcn.0044e4d6
mov dword [ebp - 0x3c], eax
call fcn.0043deb6
push eax
lea ecx, [ebp - 0x18]
call fcn.0042debc
push str.Accept:__
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.00403a4b
mov esi, 0x48df18
push esi
lea ecx, [ebp - 0x18]
call fcn.00403b83
push str.Accept_Encoding:_gzip__deflate
lea ecx, [ebp - 0x18]
call fcn.00403b83
push esi
lea ecx, [ebp - 0x18]
call fcn.00403b83
mov edi, 0x4b1b1c
push edi
lea eax, [ebp - 0x38]
push str.User_Agent:
push eax
call fcn.00403b2a
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xf
call fcn.00403a7b
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.00409ebc
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401240
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.00401240
push esi
lea ecx, [ebp - 0x18]
call fcn.00403b83
push edi
push str.Host:
lea eax, [ebp - 0x34]
push eax
call fcn.00403b2a
add esp, 0xc
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x11
call fcn.00403a7b
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x12
call fcn.00409ebc
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00401240
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.00401240
push esi
lea ecx, [ebp - 0x18]
call fcn.00403b83
push str.Proxy_Connection:_Keep_Alive
lea ecx, [ebp - 0x18]
call fcn.00403b83
push esi
lea ecx, [ebp - 0x18]
call fcn.00403b83
mov esi, dword [ebp - 0x3c]
push 0x20000000
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.0044d9a2
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0044dfb4
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
call fcn.0044d447
lea ecx, [ebp - 0x5c]
call fcn.0044e073
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x40]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401240
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
call fcn.0044e109
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401240
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401240
jmp 0x42ebad
cmp byte [0x4ae29e], bl
je 0x42ee5e
mov eax, dword [0x4b17a0]
cmp dword [eax - 0xc], ebx
jne 0x42ee1c
mov eax, 0x400
push eax
mov dword [ebp - 0x40], eax
call fcn.0043bdd0
pop ecx
mov esi, eax
lea eax, [ebp - 0x40]
push eax
push esi
push ebx
call sub.urlmon.dll_ObtainUserAgentString
cmp eax, ebx
jl 0x42ee1c
push esi
mov ecx, 0x4b17a0
call fcn.00403b83
cmp byte [0x4ae29e], bl
je 0x42ee5e
mov eax, dword [0x4b17a0]
cmp dword [eax - 0xc], ebx
je 0x42ee5e
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.004036f7
push ecx
mov dword [ebp - 0x44], esp
mov ecx, esp
push 0x4b17a0
mov byte [ebp - 4], 3
call fcn.004036f7
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0042e521
jmp 0x42eea6
lea ecx, [ebp - 0x60]
call fcn.0042c466
push ebx
push ebx
push ecx
mov dword [ebp - 0x48], esp
mov ecx, esp
add edi, 0x18
push edi
mov byte [ebp - 4], 4
call fcn.004036f7
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.004036f7
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.0042c76a
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.0042c478
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401240
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401240
call fcn.004603ae
ret