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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.1005579a
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x10126d8d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 8
call fcn.1005579a
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x10126d8d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
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
push 1
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x28]
call fcn.10024a08
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10027b5b
push ebx
call fcn.100557a0
add esp, 4
lea eax, [ebp - 8]
push eax
mov eax, str.Host
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002848d
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10027b84
push ebx
call fcn.100557a0
add esp, 4
mov eax, str.Upgrade
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Connection
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002848d
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10027bb5
push ebx
call fcn.100557a0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10027bc5
push ebx
call fcn.100557a0
add esp, 4
mov eax, str.websocket
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Upgrade
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002848d
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10027bf6
push ebx
call fcn.100557a0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10027c06
push ebx
call fcn.100557a0
add esp, 4
mov eax, 0x102a6e34
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Sec_WebSocket_Version
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002848d
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10027c37
push ebx
call fcn.100557a0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10027c47
push ebx
call fcn.100557a0
add esp, 4
push 0x10
call fcn.1002862d
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10027c68
push ebx
call fcn.100557a0
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10025c38
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Sec_WebSocket_Key
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002848d
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10027ca1
push ebx
call fcn.100557a0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10027cb1
push ebx
call fcn.100557a0
add esp, 4
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x34
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0
je 0x10027d09
mov eax, str.permessage_deflate
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Sec_WebSocket_Extensions
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002848d
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10027cf9
push ebx
call fcn.100557a0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10027d09
push ebx
call fcn.100557a0
add esp, 4
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x28], ebx
push 0
push 0
push 0
push VariantClear
push 0
push 0x10142117
push VariantClear
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x10027d3b
mov eax, 0x10126d8c
push eax
push 3
mov ebx, 0x10056fe0
call fcn.100557ac
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10027d73
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10027d6f
imul eax, dword [ebx]
jmp 0x10027d64
mov ecx, eax
test ecx, ecx
je 0x10027d92
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10027d8b
push ebx
push eax
call fcn.100557a0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10027d79
call fcn.100557a0
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
call fcn.100037bb
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x100281e8
mov ebx, dword [ebp - 0x14]
call fcn.10001043
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10027de4
push 0x2c5
push 0x4038f42
push 4
call fcn.100557a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10027e01
push 0x2c5
push 0x4038f42
push 1
call fcn.100557a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x101420da
push VariantClear
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x10027e3c
mov eax, 0x10126d8c
push eax
push 4
mov ebx, 0x100562c0
call fcn.100557ac
add esp, 0x34
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
call fcn.10001043
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10027e79
push 0x30b
push 0x4038f42
push 4
call fcn.100557a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10027e96
push 0x30b
push 0x4038f42
push 1
call fcn.100557a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [0x101270f1]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.10002d0b
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push VariantClear
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x10027ee1
mov eax, 0x10126d8c
push eax
push 3
mov ebx, 0x10056060
call fcn.100557ac
add esp, 0x28
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10027f0b
push ebx
call fcn.100557a0
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x14]
call fcn.10001043
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10027f36
push 0x372
push 0x4038f42
push 4
call fcn.100557a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10027f53
push 0x372
push 0x4038f42
push 1
call fcn.100557a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x101270f1]
fstp qword [ebp - 0x38]
mov ebx, dword [ebp - 0x14]
call fcn.10001043
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10027f94
push 0x3c7
push 0x4038f42
push 4
call fcn.100557a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10027fb1
push 0x3c7
push 0x4038f42
push 1
call fcn.100557a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x3c], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
test eax, eax
jne 0x10027fce
mov eax, 0x10126d8c
push eax
push 1
mov ebx, 0x10055e60
call fcn.100557ac
add esp, 0x10
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x50]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.10002d0b
push 0x80000301
push 0
push eax
fld qword [ebp - 0x38]
call fcn.10002d0b
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x1002802e
mov eax, 0x10126d8c
push eax
push 3
mov ebx, 0x10056060
call fcn.100557ac
add esp, 0x28
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10028058
push ebx
call fcn.100557a0
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1002806f
mov eax, 0x10126d8c
push eax
push 1
mov ebx, 0x10056dd0
call fcn.100557ac
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x10126d8c
push dword [ebp - 0x28]
call fcn.10001e88
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100280b3
push ebx
call fcn.100557a0
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x10028125
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x100280d0
mov eax, 0x10126d8c
push eax
push 1
mov ebx, 0x10056dd0
call fcn.100557ac
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x10126d8c
push dword [ebp - 0x30]
call fcn.10001e88
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10028114
push ebx
call fcn.100557a0
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x10028125
mov eax, 1
jmp 0x1002812a
mov eax, 0
test eax, eax
je 0x100281e0
push 0x80000301
push 0
push 1
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10028151
mov eax, 0x10126d8c
push eax
push 2
mov ebx, 0x10055fd0
call fcn.100557ac
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x102a6e8b
push dword [ebp - 0x28]
call fcn.10001e88
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10028195
push ebx
call fcn.100557a0
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x100281cf
push dword [ebp - 0x24]
push 0x102a6e8b
mov ecx, 2
call fcn.100056e8
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100281cb
push ebx
call fcn.100557a0
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002848d
pop eax
pop ebx
pop ecx
jmp 0x10027daf
add esp, 0xc
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x28], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.User_Agent
push VariantClear
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x10028229
mov eax, 0x10126d8c
push eax
push 4
mov ebx, 0x100562c0
call fcn.100557ac
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x1002828e
mov eax, str.User_Agent
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1002825f
push ebx
call fcn.100557a0
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_100.0.4896.75_Safari_537.36_Edg_100.0.1185.36
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10028279
push ebx
call fcn.100557a0
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002848d
mov ebx, dword [ebp - 0xc]
call fcn.100037bb
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push 0
mov eax, 0x10126d8d
test eax, eax
je 0x100282ad
add eax, 8
push eax
push dword [ebp - 0x28]
mov ebx, dword [ebp - 0xc]
call fcn.10001043
push ebx
mov dword [ebp - 0x30], ecx
test ecx, ecx
jne 0x100282c5
xor eax, eax
jmp 0x100282d1
imul ecx, ecx, 8
push ecx
call fcn.1005579a
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x10028316
push ecx
push edi
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
pop edi
pop ecx
dec ecx
je 0x10028316
add ebx, 4
add edi, 8
jmp 0x100282e6
push dword [ebp - 4]
push 0x10141f56
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, 0x7c
call fcn.100557b2
cmp dword [ebp - 0x2c], esp
je 0x1002834a
push 0x718
push 0x4038f42
push 6
call fcn.100557a6
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x34]
push ebx
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x10028383
push ecx
push edi
push ebx
mov edi, dword [edi]
call fcn.10027a61
call fcn.10027a61
pop ebx
pop edi
pop ecx
dec ecx
je 0x10028383
add ebx, 8
add edi, 4
jmp 0x1002835d
call fcn.100557a0
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1002839c
push ebx
call fcn.100557a0
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100283ac
push ebx
call fcn.100557a0
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x100283ca
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x100283c6
imul eax, dword [ebx]
jmp 0x100283bb
mov ecx, eax
test ecx, ecx
je 0x1002840a
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x100283e5
push ebx
call fcn.100557a0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x100283f9
push ebx
call fcn.100557a0
add esp, 4
pop ebx
call fcn.100557a0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x100283d0
call fcn.100557a0
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10028422
push ebx
call fcn.100557a0
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10028440
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1002843c
imul eax, dword [ebx]
jmp 0x10028431
mov ecx, eax
test ecx, ecx
je 0x1002845f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10028458
push ebx
push eax
call fcn.100557a0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10028446
call fcn.100557a0
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10028477
push ebx
call fcn.100557a0
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10028487
push ebx
call fcn.100557a0
add esp, 4
mov esp, ebp
pop ebp
ret 0xc