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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b77d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x48f244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
cmp dword [ebx + 0x18], 0
mov dword [ebp - 0x50], eax
jne 0x40ae0e
push 8
push 0x47f2ec
lea ecx, [ebx + 8]
call fcn.00405800
mov ax, word [0x483a84]
lea edi, [ebx + 0x50]
movq xmm0, qword [str.User_Agent]
mov ecx, edi
mov ebx, dword [edi]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], 0xf
push eax
mov dword [ebp - 0x18], 0xa
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1e], 0
call fcn.0040c550
mov esi, dword [ebp - 0x2c]
cmp byte [esi + 0xd], 0
jne 0x40ae65
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040c690
test al, al
je 0x40ae67
mov esi, ebx
cmp esi, ebx
jne 0x40ae88
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], str.User_Agent
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x44], str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_80.0.4044.92_Safari_537.36
push eax
mov ecx, edi
call fcn.0040c3d0
mov ax, word [0x483a98]
mov ecx, edi
movq xmm0, qword [str.Connection]
mov ebx, dword [edi]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], 0xf
push eax
mov dword [ebp - 0x18], 0xa
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1e], 0
call fcn.0040c550
mov esi, dword [ebp - 0x2c]
cmp byte [esi + 0xd], 0
jne 0x40aedc
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040c690
test al, al
je 0x40aede
mov esi, ebx
cmp esi, ebx
jne 0x40aeff
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], str.User_Agent
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x44], 0x47f2ec
push eax
mov ecx, edi
call fcn.0040c3d0
mov ax, word [0x483aa0]
mov ecx, edi
mov esi, dword [str.Accept]
mov word [ebp - 0x24], ax
mov eax, dword [edi]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], 0xf
push eax
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x22], 0
call fcn.0040c550
mov ebx, dword [ebp - 0x2c]
cmp byte [ebx + 0xd], 0
jne 0x40af52
lea eax, [ebx + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040c690
test al, al
je 0x40af55
mov ebx, dword [ebp - 0x44]
cmp ebx, dword [ebp - 0x44]
jne 0x40af77
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], str.Accept
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x44], 0x47f274
push eax
mov ecx, edi
call fcn.0040c3d0
mov ax, word [0x483a98]
mov ecx, edi
movq xmm0, qword [str.Connection]
mov ebx, dword [edi]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], 0xf
push eax
mov dword [ebp - 0x18], 0xa
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1e], 0
call fcn.0040c550
mov esi, dword [ebp - 0x2c]
cmp byte [esi + 0xd], 0
jne 0x40afcb
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040c690
test al, al
je 0x40afcd
mov esi, ebx
cmp esi, ebx
jne 0x40afee
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], str.Connection
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x44], str.Keep_Alive
push eax
mov ecx, edi
call fcn.0040c3d0
push 0xf
push str.Accept_Language
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
call fcn.00405800
mov ebx, dword [edi]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.0040c550
mov esi, dword [ebp - 0x2c]
cmp byte [esi + 0xd], 0
jne 0x40b03d
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040c690
test al, al
je 0x40b03f
mov esi, ebx
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40b073
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b069
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b230
push edx
push ecx
call fcn.00439095
add esp, 8
cmp esi, ebx
jne 0x40b094
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], str.Accept_Language
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x44], str.zh_CN_zh_q0.9
push eax
mov ecx, edi
call fcn.0040c3d0
push 4
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str.GET
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00405800
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 4], 0
cmp dword [esi + 0x4c], 0x10
lea ecx, [esi + 0x38]
jb 0x40b0d2
mov ecx, dword [esi + 0x38]
push dword [esi + 0x48]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004045e0
push 1
push 0x483abc
lea ecx, [ebp - 0x40]
call fcn.004045e0
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x40b0f9
mov ecx, dword [esi + 8]
push dword [esi + 0x18]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004045e0
push 2
push 0x47f254
lea ecx, [ebp - 0x40]
call fcn.004045e0
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x40b1b4
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x40b12c
mov ecx, dword [esi + 0x10]
push dword [esi + 0x20]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004045e0
push 2
push 0x483ac0
lea ecx, [ebp - 0x40]
call fcn.004045e0
cmp dword [esi + 0x3c], 0x10
lea ecx, [esi + 0x28]
jb 0x40b153
mov ecx, dword [esi + 0x28]
push dword [esi + 0x38]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004045e0
push 2
push 0x47f254
lea ecx, [ebp - 0x40]
call fcn.004045e0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x40b194
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x40b190
cmp esi, dword [eax + 8]
jne 0x40b190
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x40b180
mov esi, eax
jmp 0x40b1ac
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x40b1ac
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x40b1a0
cmp esi, dword [edi]
jne 0x40b120
push 2
push 0x47f254
lea ecx, [ebp - 0x40]
call fcn.004045e0
push 2
push 0x47f254
lea ecx, [ebp - 0x40]
call fcn.004045e0
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00404770
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40b210
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b206
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b230
push edx
push ecx
call fcn.00439095
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004390b1
mov esp, ebp
pop ebp
ret 8
call fcn.004480ba
int3