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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
push 1
push 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.0045d6db
mov dword [ebp - 0x44], eax
push getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x45cfe3
mov eax, 0x62e1c5
push eax
push 1
mov ebx, 0x50cbe0
call fcn.0050b822
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x45d00c
push ebx
call fcn.0050b810
add esp, 4
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x3c], esp
push 0
push 0
push 0
push 0
push 0
mov eax, 0xbe
call fcn.0050b81c
cmp dword [ebp - 0x3c], esp
je 0x45d05a
push 0x63
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45d06c
jmp 0x45d6b5
push 0x80000301
push 0
push 0x40000000
push 0x80000301
push 0
push accept
push 2
mov ebx, 0x50bce0
call fcn.0050b822
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esp
push 0
push 0x80
push 4
push 0
push 1
push dword [ebp - 0x3c]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x45d0c4
add eax, 8
push eax
mov eax, 0xbf
call fcn.0050b81c
cmp dword [ebp - 0x40], esp
je 0x45d0eb
push 0x10e
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x45d689
mov dword [ebp - 0x3c], esp
push 2
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push dword [ebp - 0x10]
mov eax, 0xc0
call fcn.0050b81c
cmp dword [ebp - 0x3c], esp
je 0x45d137
push 0x178
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
push 0x80000401
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 1
mov ebx, 0x50e070
call fcn.0050b822
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x63541b
push dword [ebp - 0x3c]
push str.Accept:___r_nAccept_Encoding:_gzip__deflate_r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36_r_nRange:_bytes
mov ecx, 3
call fcn.0040ed7c
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x45d184
push ebx
call fcn.0050b810
add esp, 4
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
call fcn.00412336
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x45d1ac
push ebx
call fcn.0050b810
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45d1c0
push ebx
call fcn.0050b810
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push dword [ebp + 8]
call fcn.00412621
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00412621
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push 0
push 0x4000000
push 0xffffffff
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0xc]
mov eax, 0xc1
call fcn.0050b81c
cmp dword [ebp - 0x44], esp
je 0x45d21c
push 0x272
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x45d65d
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x3c], esp
mov eax, 0x37
call fcn.0050b81c
cmp dword [ebp - 0x3c], esp
je 0x45d259
push 0x343
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push dword [ebp - 0x24]
push 8
push dword [ebp - 0x40]
mov eax, 0x38
call fcn.0050b81c
cmp dword [ebp - 0x44], esp
je 0x45d290
push 0x343
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x45d387
push 0x80000301
push 0
push 0x8000000
push 0x80000301
push 0
push 5
push 2
mov ebx, 0x50bce0
call fcn.0050b822
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esp
mov eax, 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x3c]
push dword [ebp - 0x20]
mov eax, 0xc2
call fcn.0050b81c
cmp dword [ebp - 0x40], esp
je 0x45d30c
push 0x3c1
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
test eax, eax
je 0x45d327
push 0
push dword [ebp - 0x28]
call fcn.0045de77
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x3c], esp
mov eax, 0x37
call fcn.0050b81c
cmp dword [ebp - 0x3c], esp
je 0x45d350
push 0x444
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push dword [ebp - 0x28]
push 0
push dword [ebp - 0x40]
mov eax, 0xc3
call fcn.0050b81c
cmp dword [ebp - 0x44], esp
je 0x45d387
push 0x444
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
xor eax, eax
cmp dword [ebp - 0x2c], 0
jl 0x45d398
jg 0x45d397
cmp dword [ebp - 0x30], 0
jbe 0x45d398
inc eax
test eax, eax
je 0x45d631
push 0x80000301
push 0
push dword [0x834400]
push 1
mov ebx, 0x50dd40
call fcn.0050b822
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x45d3d6
push ebx
call fcn.0050b810
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], esp
lea eax, [ebp - 0x38]
push eax
push dword [0x834400]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x45d3f1
add eax, 8
push eax
push dword [ebp - 0x20]
mov eax, 0x49
call fcn.0050b81c
cmp dword [ebp - 0x3c], esp
je 0x45d41b
push 0x50b
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x45d42d
jmp 0x45d631
cmp dword [ebp - 0x38], 0
jne 0x45d43c
jmp 0x45d631
fild qword [ebp - 0x18]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x48]
fadd qword [ebp - 0x48]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.0040f695
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x3c], esp
push 0
mov eax, 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x45d480
add eax, 8
push eax
push dword [ebp - 0x10]
mov eax, 0xc4
call fcn.0050b81c
cmp dword [ebp - 0x3c], esp
je 0x45d4aa
push 0x5da
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x45d61a
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
push dword [ebp - 0x48]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
push dword [ebp - 0x58]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x68]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
push dword [ebp - 0x78]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
push 0
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push 0
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
push 0
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
push 0
push dword [ebp - 0x94]
push dword [ebp - 0x98]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
push 0
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 1
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp + 0x10]
call fcn.0045dea4
push 0
mov ebx, 0x510f80
call fcn.0050b822
add esp, 4
jmp 0x45d3da
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x20]
mov eax, 0x42
call fcn.0050b81c
cmp dword [ebp - 0x3c], esp
je 0x45d65d
push 0x6a1
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x10]
mov eax, 0x1d
call fcn.0050b81c
cmp dword [ebp - 0x3c], esp
je 0x45d689
push 0x6bd
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
mov dword [ebp - 0x3c], esp
push dword [ebp - 0xc]
mov eax, 0x42
call fcn.0050b81c
cmp dword [ebp - 0x3c], esp
je 0x45d6b5
push 0x6d9
push 0x40361af
push 6
call fcn.0050b816
add esp, 0xc
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45d6c5
push ebx
call fcn.0050b810
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x45d6d5
push ebx
call fcn.0050b810
add esp, 4
mov esp, ebp
pop ebp
ret 0x10