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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0xc
call fcn.0055b410
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6906e4
push ebx
add ebx, 4
push ebx
push 8
call fcn.0055b410
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x6906dc
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.0055b410
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x6906dc
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push 0xc
call fcn.0055b410
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6904b0
push ebx
add ebx, 8
push ebx
push 8
call fcn.0055b410
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.00408791
pop ebx
mov dword [ebp - 0x30], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00414d64
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x491742
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov eax, 0x70bdbe
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x107ef57
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040540d
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x491792
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4917a2
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4917b6
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov eax, 0x70ca6d
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x107ef62
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040540d
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x491806
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x491816
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x49182a
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, 0x107ef72
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x491844
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
push 0x107efb3
push dword [ebp - 0xc]
push 0x107efc4
push dword [ebp - 0xc]
push 0x107efda
push dword [ebp - 0xc]
push 0x107efec
push dword [ebp - 8]
push 0x107f051
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x107f0ab
mov ecx, 0xb
call fcn.00401ec7
add esp, 0x2c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4918a2
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp + 0xc]
mov eax, 0x70bf36
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4918df
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x9dd2b8
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0x690627
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x491921
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x491931
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x70bfb1
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0x70bfd0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x491973
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x491983
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4919b4
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push 8
call fcn.0055b410
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x6c], 0
push 0
lea eax, [ebp - 0x6c]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
push 1
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.00402010
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x491aba
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x491aca
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x491ada
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x491aea
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x491afa
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x491b0a
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x491b1a
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x40]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x562390
call fcn.0055b422
add esp, 0x10
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x491b51
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00406a32
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x491b97
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x491ba7
push ebx
call fcn.0055b416
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x491bba
mov eax, 0x6906dc
push eax
push 1
mov ebx, 0x55df90
call fcn.0055b422
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x491be0
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x491bf4
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0x20
call fcn.0055b410
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x34]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x491c50
push ebx
call fcn.0055b416
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x491c64
push ebx
call fcn.0055b416
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x491c78
push ebx
call fcn.0055b416
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x491c8c
push ebx
call fcn.0055b416
add esp, 4
pop ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, 0x107f0b9
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x491cd0
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x491ce4
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
push 0x690468
push dword [ebp - 0x30]
call fcn.004011a6
add esp, 8
cmp eax, 0
jne 0x491d0b
mov eax, 0x107f0c8
jmp 0x491d2b
push dword [ebp - 0x30]
push 0x107f0d5
mov ecx, 2
call fcn.00401ec7
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
jmp 0x491d2b
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x491d3c
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x491d4c
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x491d5c
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x491d6c
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x491d7c
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x491d9c
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x491dac
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x491dbc
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x491ddc
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18