Function at 0x10006bfc
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.10057377
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x10127fb1
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.10057377
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x10127fb1
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.10003b4b
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10006cbf
push ebx
call fcn.1005737d
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.100075f1
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10006ce8
push ebx
call fcn.1005737d
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.100075f1
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10006d19
push ebx
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10006d29
push ebx
call fcn.1005737d
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.100075f1
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10006d5a
push ebx
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10006d6a
push ebx
call fcn.1005737d
add esp, 4
mov eax, 0x10276555
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.100075f1
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10006d9b
push ebx
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10006dab
push ebx
call fcn.1005737d
add esp, 4
push 0x10
call fcn.10007791
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10006dcc
push ebx
call fcn.1005737d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10004d9c
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.100075f1
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10006e05
push ebx
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10006e15
push ebx
call fcn.1005737d
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 0x10006e6d
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.100075f1
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10006e5d
push ebx
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10006e6d
push ebx
call fcn.1005737d
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 0x10276408
push VariantClear
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x10006e9f
mov eax, 0x10127fb0
push eax
push 3
mov ebx, 0x10058d70
call fcn.10057389
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 0x10006ed7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10006ed3
imul eax, dword [ebx]
jmp 0x10006ec8
mov ecx, eax
test ecx, ecx
je 0x10006ef6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10006eef
push ebx
push eax
call fcn.1005737d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10006edd
call fcn.1005737d
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
call fcn.10004308
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 0x1000734c
mov ebx, dword [ebp - 0x14]
call fcn.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10006f48
push 0x2c5
push 0x4039b62
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10006f65
push 0x2c5
push 0x4039b62
push 1
call fcn.10057383
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 0x102763fd
push VariantClear
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x10006fa0
mov eax, 0x10127fb0
push eax
push 4
mov ebx, 0x10058050
call fcn.10057389
add esp, 0x34
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
call fcn.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10006fdd
push 0x30b
push 0x4039b62
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10006ffa
push 0x30b
push 0x4039b62
push 1
call fcn.10057383
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 [0x102764b3]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.10001de5
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 0x10007045
mov eax, 0x10127fb0
push eax
push 3
mov ebx, 0x10057df0
call fcn.10057389
add esp, 0x28
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000706f
push ebx
call fcn.1005737d
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x14]
call fcn.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x1000709a
push 0x372
push 0x4039b62
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100070b7
push 0x372
push 0x4039b62
push 1
call fcn.10057383
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 [0x102764b3]
fstp qword [ebp - 0x38]
mov ebx, dword [ebp - 0x14]
call fcn.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x100070f8
push 0x3c7
push 0x4039b62
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10007115
push 0x3c7
push 0x4039b62
push 1
call fcn.10057383
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 0x10007132
mov eax, 0x10127fb0
push eax
push 1
mov ebx, 0x10057a70
call fcn.10057389
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.10001de5
push 0x80000301
push 0
push eax
fld qword [ebp - 0x38]
call fcn.10001de5
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x10007192
mov eax, 0x10127fb0
push eax
push 3
mov ebx, 0x10057df0
call fcn.10057389
add esp, 0x28
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100071bc
push ebx
call fcn.1005737d
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100071d3
mov eax, 0x10127fb0
push eax
push 1
mov ebx, 0x10058b60
call fcn.10057389
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x10127fb0
push dword [ebp - 0x28]
call fcn.10001891
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 0x10007217
push ebx
call fcn.1005737d
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x10007289
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10007234
mov eax, 0x10127fb0
push eax
push 1
mov ebx, 0x10058b60
call fcn.10057389
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x10127fb0
push dword [ebp - 0x30]
call fcn.10001891
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 0x10007278
push ebx
call fcn.1005737d
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x10007289
mov eax, 1
jmp 0x1000728e
mov eax, 0
test eax, eax
je 0x10007344
push 0x80000301
push 0
push 1
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x100072b5
mov eax, 0x10127fb0
push eax
push 2
mov ebx, 0x10057d60
call fcn.10057389
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x102765ac
push dword [ebp - 0x28]
call fcn.10001891
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 0x100072f9
push ebx
call fcn.1005737d
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x10007333
push dword [ebp - 0x24]
push 0x102765ac
mov ecx, 2
call fcn.10001835
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1000732f
push ebx
call fcn.1005737d
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.100075f1
pop eax
pop ebx
pop ecx
jmp 0x10006f13
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 0x1000738d
mov eax, 0x10127fb0
push eax
push 4
mov ebx, 0x10058050
call fcn.10057389
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x100073f2
mov eax, str.User_Agent
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100073c3
push ebx
call fcn.1005737d
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 0x100073dd
push ebx
call fcn.1005737d
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.100075f1
mov ebx, dword [ebp - 0xc]
call fcn.10004308
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push 0
mov eax, 0x10127fb1
test eax, eax
je 0x10007411
add eax, 8
push eax
push dword [ebp - 0x28]
mov ebx, dword [ebp - 0xc]
call fcn.100010ae
push ebx
mov dword [ebp - 0x30], ecx
test ecx, ecx
jne 0x10007429
xor eax, eax
jmp 0x10007435
imul ecx, ecx, 8
push ecx
call fcn.10057377
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 0x1000747a
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 0x1000747a
add ebx, 4
add edi, 8
jmp 0x1000744a
push dword [ebp - 4]
push 0x1027663f
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, 0x29
call fcn.1005738f
cmp dword [ebp - 0x2c], esp
je 0x100074ae
push 0x718
push 0x4039b62
push 6
call fcn.10057383
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 0x100074e7
push ecx
push edi
push ebx
mov edi, dword [edi]
call fcn.10006bc5
call fcn.10006bc5
pop ebx
pop edi
pop ecx
dec ecx
je 0x100074e7
add ebx, 8
add edi, 4
jmp 0x100074c1
call fcn.1005737d
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10007500
push ebx
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10007510
push ebx
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000752e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000752a
imul eax, dword [ebx]
jmp 0x1000751f
mov ecx, eax
test ecx, ecx
je 0x1000756e
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10007549
push ebx
call fcn.1005737d
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000755d
push ebx
call fcn.1005737d
add esp, 4
pop ebx
call fcn.1005737d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10007534
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10007586
push ebx
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x100075a4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x100075a0
imul eax, dword [ebx]
jmp 0x10007595
mov ecx, eax
test ecx, ecx
je 0x100075c3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x100075bc
push ebx
push eax
call fcn.1005737d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x100075aa
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100075db
push ebx
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100075eb
push ebx
call fcn.1005737d
add esp, 4
mov esp, ebp
pop ebp
ret 0xc