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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 0x18
call fcn.0046c86e
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebx], 0xb091b7
push ebx
add ebx, 4
push ebx
push 0x28
call fcn.0046c86e
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0xb0921b
pop ebx
add ebx, 4
push ebx
push 8
call fcn.0046c86e
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x521828
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 0xc
push ebx
push 0xc
call fcn.0046c86e
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0xb0931f
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.004139a3
pop ebx
cmp dword [ebp + 0x98], 0
jne 0x4131e3
mov dword [ebp + 0x94], 1
cmp dword [ebp + 0x90], 0
jne 0x4131fa
mov dword [ebp + 0x8c], 1
cmp dword [ebp + 0x40], 0
jne 0x413210
mov dword [ebp + 0x3c], 1
jmp 0x413218
and dword [ebp + 0x3c], 1
xor dword [ebp + 0x3c], 1
mov eax, 0xb05699
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41322e
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jne 0x41325b
mov eax, 0xb05699
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413252
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x4132d1
cmp dword [ebp + 0xc], 1
jne 0x413284
mov eax, 0xb0569d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41327b
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x4132d1
cmp dword [ebp + 0xc], 2
jne 0x4132ad
mov eax, 0xb056a2
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4132a4
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x4132d1
cmp dword [ebp + 0xc], 3
jne 0x4132d1
mov eax, 0xb056a7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4132cd
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x94], 0
je 0x413710
push 0x572653
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00403a58
add esp, 8
cmp eax, 0
je 0x41336f
push 0x80000301
push 0
push 2
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x41331a
mov eax, 0x572653
push eax
push 2
mov ebx, 0x46d160
call fcn.0046c868
add esp, 0x1c
mov dword [ebp - 0x10], eax
push 0x7200c5
push dword [ebp - 0x10]
call fcn.00403a58
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41335e
push ebx
call fcn.0046c862
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x41336f
mov eax, 1
jmp 0x413374
mov eax, 0
test eax, eax
je 0x4133b2
push 0x7200c5
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402d39
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4133ac
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push 0xb05749
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4133eb
mov eax, 0x572653
push eax
push 4
mov ebx, 0x46d410
call fcn.0046c868
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x413441
push 0xb05756
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402d39
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41343b
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push 0xb057ab
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x41347a
mov eax, 0x572653
push eax
push 4
mov ebx, 0x46d410
call fcn.0046c868
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4134d0
push 0xb057b4
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402d39
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4134ca
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push 0xb057e4
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x413509
mov eax, 0x572653
push eax
push 4
mov ebx, 0x46d410
call fcn.0046c868
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41355f
push 0xb0919b
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402d39
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x413559
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push 0xb05815
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x413598
mov eax, 0x572653
push eax
push 4
mov ebx, 0x46d410
call fcn.0046c868
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4135ee
push 0xb05827
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402d39
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4135e8
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push 0xb05880
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x413627
mov eax, 0x572653
push eax
push 4
mov ebx, 0x46d410
call fcn.0046c868
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41367d
push 0xb05890
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402d39
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x413677
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 1
jne 0x413710
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push getpeername
push 0
push 0xb05840
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4136ba
mov eax, 0x572653
push eax
push 4
mov ebx, 0x46d410
call fcn.0046c868
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x413710
push 0xb0584e
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402d39
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41370a
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
push dword [ebp + 0x3c]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x44]
push 1
push dword [ebp + 0x8c]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
cmp dword [ebp + 0x70], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41379e
fild dword [ebp + 0x6c]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0xb05691]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
fld qword [ebp - 0x18]
call fcn.00403218
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
push 0x572653
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00403a58
add esp, 8
cmp eax, 0
je 0x4137ca
push dword [ebp + 0x1c]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
push 0x572653
mov ebx, dword [ebp + 0x54]
push dword [ebx]
call fcn.00403a58
add esp, 8
cmp eax, 0
je 0x413805
push 1
push dword [ebp + 0x64]
push 1
push dword [ebp + 0x5c]
push 1
push dword [ebp + 0x54]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
push dword [ebp + 0x2c]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
push 1
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x413850
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
cmp dword [ebp + 0x80], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4138b9
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x54]
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x46eb60
call fcn.0046c868
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0x7c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4138b3
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov ebx, dword [ebp + 0x7c]
mov dword [ebx], eax
cmp dword [ebp + 0x28], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41391c
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x413900
push ebx
call fcn.0046c862
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x413916
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
cmp dword [ebp + 0x78], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x413962
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x60]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x74]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41395c
push ebx
call fcn.0046c862
add esp, 4
pop eax
mov ebx, dword [ebp + 0x74]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
jmp 0x41397b
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41398c
push ebx
call fcn.0046c862
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0046c862
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x94