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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x28
call fcn.1002a5f6
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0x10031857
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100043bf
mov eax, 0x10031200
jmp 0x10004aee
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x84]
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc4]
cmp dword [ebp + 0x3c], 0
jg 0x10004401
mov dword [ebp + 0x3c], 0x3c
push 1
push dword [ebp + 0x3c]
push 1
push dword [ebp + 0x3c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x9c]
cmp dword [ebp + 0xc], 0
je 0x100044b1
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
mov eax, 0x10031200
xor ecx, ecx
test eax, eax
je 0x1000444a
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x1000445d
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10004474
dec eax
test ecx, ecx
je 0x10004474
call fcn.100042b4
add esp, 0xc
test eax, eax
je 0x10004498
push dword [ebp + 0x4c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa4]
jmp 0x100044ac
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa8]
jmp 0x100044c7
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x100044e5
push eax
mov ebx, eax
call fcn.100014b0
inc eax
push eax
call fcn.1002a5f6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100044f6
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.Referer:
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000452b
mov eax, 0x10031283
push eax
push 4
mov ebx, 0x148
call fcn.1002ba80
add esp, 0x34
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x1000458a
cmp dword [ebp + 0x64], 0
jne 0x1000458a
mov ebx, dword [ebp + 8]
push dword [ebx]
push str._r_nReferer:
push dword [ebp - 8]
mov ecx, 3
call fcn.1000151b
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10004586
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.Accept:
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100045bb
mov eax, 0x10031283
push eax
push 4
mov ebx, 0x148
call fcn.1002ba80
add esp, 0x34
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x1000460b
push str._r_nAccept:__
push dword [ebp - 8]
mov ecx, 2
call fcn.1000151b
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10004607
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.Accept_Language:
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000463c
mov eax, 0x10031283
push eax
push 4
mov ebx, 0x148
call fcn.1002ba80
add esp, 0x34
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x1000468c
push str._r_nAccept_Language:_zh_cn
push dword [ebp - 8]
mov ecx, 2
call fcn.1000151b
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10004688
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x6c], 0
jne 0x10004724
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100046a9
mov eax, 0x10031283
push eax
push 1
mov ebx, 0x154
call fcn.1002bbb0
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.accept_encoding:_gzip
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x100046f0
mov eax, 0x10031283
push eax
push 4
mov ebx, 0x148
call fcn.1002ba80
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10004716
push ebx
call fcn.1002a5f0
add esp, 4
cmp dword [ebp - 0x14], 0xffffffff
jne 0x10004724
xor eax, eax
jmp 0x10004729
mov eax, 1
test eax, eax
je 0x10004760
mov eax, str.gzip
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x2776
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10004760
push ebx
call fcn.1002a5f0
add esp, 4
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.User_Agent:
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10004791
mov eax, 0x10031283
push eax
push 4
mov ebx, 0x148
call fcn.1002ba80
add esp, 0x34
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x100047e1
push str._r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_80.0.3987.163_Safari_537.36
push dword [ebp - 8]
mov ecx, 2
call fcn.1000151b
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100047dd
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x10031283
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.10001f9f
add esp, 8
cmp eax, 0
je 0x10004831
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push str._r_nCookie:
push dword [ebp - 8]
mov ecx, 3
call fcn.1000151b
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000482d
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0x80000004
push 0
push 0x100314dd
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10004856
mov eax, 0x10031283
push eax
push 3
mov ebx, 0x190
call fcn.1002b600
add esp, 0x28
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb0]
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000489f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000489b
imul eax, dword [ebx]
jmp 0x10004890
mov ecx, eax
test ecx, ecx
je 0x100048be
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x100048b7
push ebx
push eax
call fcn.1002a5f0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x100048a5
call fcn.1002a5f0
add esp, 4
mov eax, dword [ebp + 0x2c]
and eax, 1
xor eax, 1
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xac]
push 0x10031283
mov ebx, dword [ebp + 0x54]
push dword [ebx]
call fcn.10001f9f
add esp, 8
cmp eax, 0
je 0x1000493b
mov ebx, dword [ebp + 0x54]
push dword [ebx]
push str.http:__
mov ecx, 2
call fcn.1000151b
add esp, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x88]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000493b
push ebx
call fcn.1002a5f0
add esp, 4
cmp dword [ebp + 0x78], 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000499c
cmp dword [ebp + 0x88], 0
jne 0x10004983
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push dword [ebp + 0x74]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x74]
jmp 0x1000499c
push 1
push dword [ebp + 0x84]
push dword [ebp + 0x74]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x74]
cmp dword [ebp + 0x80], 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10004a00
cmp dword [ebp + 0x88], 0
jne 0x100049e7
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push dword [ebp + 0x7c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x78]
jmp 0x10004a00
push 1
push dword [ebp + 0x84]
push dword [ebp + 0x7c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x78]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10004a38
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0x5c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10004a68
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x5c]
mov dword [ebx], eax
push dword [ebp + 0x5c]
call fcn.10004b26
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10004a8f
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10004abd
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10004ae9
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1002a5f6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10004aee
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.1002a5f0
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10004b0f
push ebx
call fcn.1002a5f0
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10004b1f
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x84