Function at 0x405028
Capabilities:
Inspect section memory permissions
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], esp
push 0
push 0
push 0
push 0
push 0
mov eax, 0x14
call fcn.004306e3
cmp dword [ebp - 0x34], esp
je 0x4050c7
push 0x19
push 0x401b6b1
push 6
call fcn.004306dd
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4050d9
jmp 0x405532
push 0x80000301
push 0
push 0x40000000
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0x430b00
call fcn.004306d7
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push 0
push 0x80
push 4
push 0
push 1
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x405131
add eax, 8
push eax
mov eax, 0x15
call fcn.004306e3
cmp dword [ebp - 0x38], esp
je 0x405158
push 0xc4
push 0x401b6b1
push 6
call fcn.004306dd
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4054da
mov dword [ebp - 0x34], esp
push 2
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp - 8]
mov eax, 0x16
call fcn.004306e3
cmp dword [ebp - 0x34], esp
je 0x4051a4
push 0x12e
push 0x401b6b1
push 6
call fcn.004306dd
add esp, 0xc
push 0x80000401
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 1
mov ebx, 0x431c30
call fcn.004306d7
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x5cbd1b
push dword [ebp - 0x34]
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.004011a8
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4051f1
push ebx
call fcn.004306d1
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push eax
call fcn.00401795
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x405219
push ebx
call fcn.004306d1
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40522d
push ebx
call fcn.004306d1
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.00401afe
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401afe
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push 0
push 0x4000000
push 0xffffffff
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push dword [ebp - 4]
mov eax, 0x17
call fcn.004306e3
cmp dword [ebp - 0x3c], esp
je 0x405289
push 0x228
push 0x401b6b1
push 6
call fcn.004306dd
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4054da
mov dword [ebp - 0x1c], 4
push 0x80000301
push 0
push 0x20000000
push 0x80000301
push 0
push 5
push 2
mov ebx, 0x430b00
call fcn.004306d7
add esp, 0x1c
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403a6a
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
mov eax, 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push dword [ebp - 0x18]
mov eax, 0x18
call fcn.004306e3
cmp dword [ebp - 0x3c], esp
je 0x405318
push 0x304
push 0x401b6b1
push 6
call fcn.004306dd
add esp, 0xc
push dword [ebp - 0x20]
call fcn.00405558
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 0
xor eax, eax
cmp dword [ebp - 0x24], 0
jl 0x40533e
jg 0x40533d
cmp dword [ebp - 0x28], 0
jbe 0x40533e
inc eax
test eax, eax
je 0x4054ae
mov dword [ebp - 0x2c], 0x100000
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x431b30
call fcn.004306d7
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x405380
push ebx
call fcn.004306d1
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x405398
add eax, 8
push eax
push dword [ebp - 0x18]
mov eax, 0x19
call fcn.004306e3
cmp dword [ebp - 0x34], esp
je 0x4053c2
push 0x446
push 0x401b6b1
push 6
call fcn.004306dd
add esp, 0xc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x4053d4
jmp 0x4054ae
cmp dword [ebp - 0x20], 0
jne 0x4053e3
jmp 0x4054ae
fild qword [ebp - 0x10]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.004018d2
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x34], esp
push 0
mov eax, 0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x405427
add eax, 8
push eax
push dword [ebp - 8]
mov eax, 0x1a
call fcn.004306e3
cmp dword [ebp - 0x34], esp
je 0x405451
push 0x515
push 0x401b6b1
push 6
call fcn.004306dd
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x4054a9
lea eax, [ebp - 0x28]
push eax
call fcn.00405579
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405579
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
push 1
push dword [ebp - 0x38]
push 1
push dword [ebp - 0x34]
push dword [ebp + 0x10]
call fcn.004055c1
jmp 0x405384
mov dword [ebp - 0x34], esp
push dword [ebp - 0x18]
mov eax, 0x1b
call fcn.004306e3
cmp dword [ebp - 0x34], esp
je 0x4054da
push 0x629
push 0x401b6b1
push 6
call fcn.004306dd
add esp, 0xc
mov dword [ebp - 0x34], esp
push dword [ebp - 8]
mov eax, 0x1c
call fcn.004306e3
cmp dword [ebp - 0x34], esp
je 0x405506
push 0x65a
push 0x401b6b1
push 6
call fcn.004306dd
add esp, 0xc
mov dword [ebp - 0x34], esp
push dword [ebp - 4]
mov eax, 0x1b
call fcn.004306e3
cmp dword [ebp - 0x34], esp
je 0x405532
push 0x674
push 0x401b6b1
push 6
call fcn.004306dd
add esp, 0xc
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x405542
push ebx
call fcn.004306d1
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x405552
push ebx
call fcn.004306d1
add esp, 4
mov esp, ebp
pop ebp
ret 0x10