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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
push 8
call fcn.004dab6b
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0x5b7c9a
push ebx
add ebx, 4
push ebx
push 8
call fcn.004dab6b
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040bcbc
pop ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0xffffffffffffffff
push 2
push 0x1607157d
push 0x52010001
call fcn.004dab9b
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x4dcd30
call fcn.004dab77
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffff
push 2
push 0x1607157d
push 0x52010001
call fcn.004dab9b
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x4dcd30
call fcn.004dab77
add esp, 0x10
mov dword [ebp - 0x24], eax
push str..jpg
push dword [ebp - 0x24]
push 0x5b7295
push dword [ebp - 0x1c]
push 0x5b7297
mov ecx, 5
call fcn.00401e8c
add esp, 0x14
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x408f87
push ebx
call fcn.004dab71
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408f97
push ebx
call fcn.004dab71
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408fab
push ebx
call fcn.004dab71
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 0x12
push 0x16071534
push 0x52010001
call fcn.004dab9b
add esp, 0x10
test eax, eax
je 0x40989d
mov eax, 0
jmp 0x409b08
mov ebx, dword [0x82db14]
call fcn.004014ac
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x4098bd
push 4
call fcn.004dab7d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4098d0
push 1
call fcn.004dab7d
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x82db14]
call fcn.004014ac
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x4098fd
push 4
call fcn.004dab7d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x409910
push 1
call fcn.004dab7d
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
push dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
mov ecx, 2
call fcn.00401e8c
add esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0_
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 1
push 0x1388
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00409e0f
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40998a
push ebx
call fcn.004dab71
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40999a
push ebx
call fcn.004dab71
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4099aa
push ebx
call fcn.004dab71
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4099ba
push ebx
call fcn.004dab71
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4099ca
push ebx
call fcn.004dab71
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4099e0
push ebx
call fcn.004dab71
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [0x82db14]
call fcn.004014ac
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x409a06
push 4
call fcn.004dab7d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x409a19
push 1
call fcn.004dab7d
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x409a3b
mov eax, 0x5b6e69
push eax
push 1
mov ebx, 0x4db130
call fcn.004dab77
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x409ad0
mov ebx, dword [0x82db14]
call fcn.004014ac
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x409a7b
push 4
call fcn.004dab7d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x409a8e
push 1
call fcn.004dab7d
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov eax, 0x5b7311
test eax, eax
je 0x409ab7
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004dab6b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x409aca
push ebx
call fcn.004dab71
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [0x82db10]
call fcn.004014ac
mov eax, 7
cmp eax, ecx
jl 0x409af1
push 1
call fcn.004dab7d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
dec dword [ebx]
mov eax, 1
jmp 0x409b08
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409b19
push ebx
call fcn.004dab71
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004dab71
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x409b39
push ebx
call fcn.004dab71
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4