Function at 0x4168fe
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 dword [ebp - 0xc], 0
push 0xc
call fcn.0045f644
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x7223df
push ebx
add ebx, 4
push ebx
push 8
call fcn.0045f644
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x53e378
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.0045f644
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x53e378
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, 0x72264d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4169ac
push ebx
call fcn.0045f64a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000101
push 0
push 9
push 1
mov ebx, 0x45ff80
call fcn.0045f656
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000101
push 0
push 9
push 1
mov ebx, 0x45ff80
call fcn.0045f656
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000101
push 0
push 9
push 1
mov ebx, 0x45ff80
call fcn.0045f656
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000101
push 0
push 9
push 1
mov ebx, 0x45ff80
call fcn.0045f656
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x80000101
push 0
push 9
push 1
mov ebx, 0x45ff80
call fcn.0045f656
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 9
push 1
mov ebx, 0x45ff80
call fcn.0045f656
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 9
push 1
mov ebx, 0x45ff80
call fcn.0045f656
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 9
push 1
mov ebx, 0x45ff80
call fcn.0045f656
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x80000101
push 0
push 9
push 1
mov ebx, 0x45ff80
call fcn.0045f656
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 9
push 1
mov ebx, 0x45ff80
call fcn.0045f656
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x722695
push dword [ebp - 0x40]
push 0x72269a
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push 0x7226bd
push dword [ebp - 0x34]
push 0x7226ca
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x7226cf
push dword [ebp - 0x30]
push 0x7226db
push dword [ebp - 0x2c]
push 0x7226fa
push dword [ebp - 0x28]
push 0x72270a
push dword [ebp - 0x24]
push 0x7226ca
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x72271c
push dword [ebp - 0x20]
push 0x72272a
push dword [ebp - 0x1c]
push 0x72273f
mov ecx, 0x18
call fcn.00401ea2
add esp, 0x60
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x416b7e
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x416b8e
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416b9e
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x416bae
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416bbe
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416bce
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x416bde
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x416bee
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x416bfe
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x416c0e
push ebx
call fcn.0045f64a
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x416c22
push ebx
call fcn.0045f64a
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x416c44
push eax
mov ebx, eax
call fcn.00401e37
inc eax
push eax
call fcn.0045f644
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x416c55
push ebx
call fcn.0045f64a
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x721a33
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x721a45
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416c9b
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x416cab
push ebx
call fcn.0045f64a
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x721a12
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x721a16
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416ced
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x416cfd
push ebx
call fcn.0045f64a
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x722743
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x7219cf
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416d3f
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x416d4f
push ebx
call fcn.0045f64a
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x72274f
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x721a05
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416d91
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x416da1
push ebx
call fcn.0045f64a
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x72276e
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x721ab9
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416de3
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x416df3
push ebx
call fcn.0045f64a
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x416e24
push ebx
call fcn.0045f64a
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.0045f644
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
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
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 8]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.00411eda
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x416f25
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x416f35
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x416f45
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x416f55
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x416f65
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416f75
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x464ca0
call fcn.0045f656
add esp, 0x10
call fcn.0045f64a
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x416fab
mov eax, 0x53e378
push eax
push 1
mov ebx, 0x464a80
call fcn.0045f656
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x416fd1
push ebx
call fcn.0045f64a
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x416fe5
push ebx
call fcn.0045f64a
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x722826
push getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41701a
mov eax, 0x66eb35
push eax
push 4
mov ebx, 0x460180
call fcn.0045f656
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x417049
mov eax, 1
jmp 0x417053
mov eax, 0
jmp 0x417053
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x417064
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x417074
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x417084
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4170a4
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4170b4
push ebx
call fcn.0045f64a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10