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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x28
call fcn.00462e3a
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0xe52c33
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 1
push 0x1388
push 1
push 0x1388
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x98]
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x84]
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc4]
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xac]
push 0
push 0
push 0
push getpeername
push 0
push 0xe52b88
push getpeername
push 0
push 0xe52b8b
push 3
mov ebx, 0x463ea0
call fcn.00462e4c
add esp, 0x28
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb0]
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404eb9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404eb5
imul eax, dword [ebx]
jmp 0x404eaa
mov ecx, eax
test ecx, ecx
je 0x404ed8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404ed1
push ebx
push eax
call fcn.00462e34
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404ebf
call fcn.00462e34
add esp, 4
mov eax, 0x500e29
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x404f0d
push ebx
call fcn.00462e34
add esp, 4
push 1
push 0x2f
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa8]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd0]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040502a
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x404f9d
push ebx
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x404fad
push ebx
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404fbd
push ebx
call fcn.00462e34
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404fd1
push ebx
call fcn.00462e34
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 8]
test eax, eax
je 0x404ffd
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00462e3a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x405002
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405023
push ebx
call fcn.00462e34
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc