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

Disassembly:
push 0x54
mov eax, 0x485144
call fcn.004622a9
mov edi, ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x48bc70
call fcn.00404253
lea eax, [ebp - 0x24]
push 4
push eax
call fcn.004285fc
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0043fe5b
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403560
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0042ff03
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004039d8
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401264
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], ebx
je 0x43031a
push ebx
push str.download_image_error
mov ecx, edi
call fcn.00403627
test eax, eax
jge 0x43031a
lea eax, [ebp - 0x30]
push eax
mov esi, 0x49514c
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], ebx
call fcn.0040cfba
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004036d1
mov byte [ebp - 4], 7
jmp 0x43009f
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004039d8
lea eax, [ebp - 0x30]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040cfba
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.004039d8
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.00401264
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], ebx
jne 0x430066
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 0xc], ebx
jle 0x4300e8
mov byte [ebp - 4], 9
cmp byte [0x4b229e], bl
je 0x430103
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x40], esp
mov ecx, esp
push eax
call fcn.004036d1
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xa
call fcn.004036d1
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.0042fa5c
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401264
jmp 0x4303e1
call fcn.0043fe5b
push eax
lea ecx, [ebp - 0x28]
call fcn.00403560
mov byte [ebp - 4], 0xb
call fcn.0043fe5b
push eax
lea ecx, [ebp - 0x30]
call fcn.00403560
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.0044fa4a
cmp eax, ebx
je 0x4302f9
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0044f480
push ebx
push ebx
push ebx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
call fcn.0044fe86
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.0044ff3d
mov dword [ebp - 0x3c], eax
call fcn.0043fe5b
push eax
lea ecx, [ebp - 0x18]
call fcn.00403560
push str.Accept:__
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.00403a25
mov esi, 0x491670
push esi
lea ecx, [ebp - 0x18]
call fcn.00403b5d
push str.Accept_Encoding:_gzip__deflate
lea ecx, [ebp - 0x18]
call fcn.00403b5d
push esi
lea ecx, [ebp - 0x18]
call fcn.00403b5d
mov edi, 0x4b5b2c
push edi
lea eax, [ebp - 0x38]
push str.User_Agent:
push eax
call fcn.00403b04
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xf
call fcn.00403a55
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.0040a0be
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.00401264
push esi
lea ecx, [ebp - 0x18]
call fcn.00403b5d
push edi
push str.Host:
lea eax, [ebp - 0x34]
push eax
call fcn.00403b04
add esp, 0xc
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x11
call fcn.00403a55
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x12
call fcn.0040a0be
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.00401264
push esi
lea ecx, [ebp - 0x18]
call fcn.00403b5d
push str.Proxy_Connection:_Keep_Alive
lea ecx, [ebp - 0x18]
call fcn.00403b5d
push esi
lea ecx, [ebp - 0x18]
call fcn.00403b5d
mov esi, dword [ebp - 0x3c]
push 0x20000000
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.0044f3ec
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0044f9fe
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
call fcn.0044ee91
lea ecx, [ebp - 0x5c]
call fcn.0044fada
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.00401264
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
call fcn.0044fb70
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401264
jmp 0x4300e8
cmp byte [0x4b229e], bl
je 0x430399
mov eax, dword [0x4b57a4]
cmp dword [eax - 0xc], ebx
jne 0x430357
mov eax, 0x400
push eax
mov dword [ebp - 0x40], eax
call fcn.0043dd74
pop ecx
mov esi, eax
lea eax, [ebp - 0x40]
push eax
push esi
push ebx
call sub.urlmon.dll_ObtainUserAgentString
cmp eax, ebx
jl 0x430357
push esi
mov ecx, 0x4b57a4
call fcn.00403b5d
cmp byte [0x4b229e], bl
je 0x430399
mov eax, dword [0x4b57a4]
cmp dword [eax - 0xc], ebx
je 0x430399
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.004036d1
push ecx
mov dword [ebp - 0x44], esp
mov ecx, esp
push 0x4b57a4
mov byte [ebp - 4], 3
call fcn.004036d1
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0042fa5c
jmp 0x4303e1
lea ecx, [ebp - 0x60]
call fcn.0042d74c
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.004036d1
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.004036d1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.0042da4d
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.0042d75e
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401264
call fcn.0046234e
ret