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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, 0xb411a3
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004cb62b
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x51aeb3
push ebx
call fcn.006274ad
add esp, 4
push 0xb411ab
push dword [0x114a504]
push 0xb29335
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0xb411cd
mov ecx, 5
call fcn.00403015
add esp, 0x14
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 8
call fcn.006274a7
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
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
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
mov eax, 0xb41013
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
push 0x114a5b4
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
lea eax, [ebp - 0xc]
push eax
call fcn.004dd991
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x51afef
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x51afff
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x51b00f
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x51b01f
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x51b02f
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x51b03f
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x51b04f
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x51b05f
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x51b06f
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x62d7b0
call fcn.006274b3
add esp, 0x10
call fcn.006274ad
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x51b0a5
mov eax, 0x70ee06
push eax
push 1
mov ebx, 0x629890
call fcn.006274b3
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x51b0ce
push ebx
call fcn.006274ad
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x51b0e5
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb41231
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x51b11a
mov eax, 0x70ef7f
push eax
push 4
mov ebx, 0x627f90
call fcn.006274b3
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x51b149
mov eax, 0xb28e1c
jmp 0x51b5f0
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb41250
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x51b17a
mov eax, 0x70ef7f
push eax
push 4
mov ebx, 0x627f90
call fcn.006274b3
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x51b1ef
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb41282
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x51b1cb
mov eax, 0x70ef7f
push eax
push 4
mov ebx, 0x627f90
call fcn.006274b3
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x51b1ef
xor eax, eax
jmp 0x51b1f4
mov eax, 1
test eax, eax
je 0x51b20b
mov eax, 0xb294ff
jmp 0x51b5f0
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb412b4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x51b23c
mov eax, 0x70ef7f
push eax
push 4
mov ebx, 0x627f90
call fcn.006274b3
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x51b302
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb29e73
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x51b28d
mov eax, 0x70ef7f
push eax
push 4
mov ebx, 0x627f90
call fcn.006274b3
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x51b302
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb412d9
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x51b2de
mov eax, 0x70ef7f
push eax
push 4
mov ebx, 0x627f90
call fcn.006274b3
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x51b302
xor eax, eax
jmp 0x51b307
mov eax, 1
test eax, eax
je 0x51b5e6
push 0
push 1
push 0xffffffffffffffff
push 5
push 0x16020fde
push 0x52010b0c
call fcn.006274d1
add esp, 0x18
call fcn.0051b618
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
jmp 0x51b5f0
mov eax, 0xb28e42
jmp 0x51b5f0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x51b601
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x51b611
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4