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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f59a
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
push ebx
push esi
push edi
mov eax, dword [0x42a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x114], 0
je 0x40a0ea
lea ecx, [ebp - 0x38]
call fcn.0040afa0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x38]
push 0x4229c0
lea ecx, [ebp - 0x140]
call fcn.0041c800
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x38]
call dword [edx + 0x44]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
call dword [eax + 0x44]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401ed0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.0040b2f0
push str._r_nAccept_Language:_zh_cn
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x140]
call fcn.0041c800
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x38]
call dword [edx + 0x44]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
call dword [eax + 0x44]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401ed0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.0040b2f0
push str._r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.102_Safari_537.36
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x140]
call fcn.0041c800
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x38]
call dword [edx + 0x44]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
call dword [eax + 0x44]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401ed0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.0040b2f0
push str._r_nContent_Type:_application_x_www_form_urlencoded
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x140]
call fcn.0041c800
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x38]
call dword [edx + 0x44]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
call dword [eax + 0x44]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401ed0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.0040b2f0
push str._r_nReferer:
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x1ec]
call fcn.0041c800
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x94]
push ecx
mov edx, eax
lea ecx, [ebp - 0x140]
call fcn.0041c650
add esp, 8
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x38]
call dword [edx + 0x44]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
call dword [eax + 0x44]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401ed0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x140]
call fcn.0040b2f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ec]
call fcn.0040b2f0
cmp dword [ebx + 0x10c], 1
jne 0x40a0b3
lea ecx, [ebp - 0x1c0]
call fcn.004033c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
call fcn.0040afa0
mov byte [ebp - 4], 8
mov dword [ebp - 0xe8], vtable.CWConstString.0
mov dword [ebp - 0xdc], 0x422b8c
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
jne 0x4098d7
cmp dword [ebp - 0xc4], 0
mov ecx, 0x422b94
cmovne ecx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4098eb
cmp dword [ebp - 0x14], 0
mov eax, 0x422b94
cmovne eax, dword [ebp - 0x1c]
sub esp, 8
lea edx, [ebp - 0x1b4]
push ecx
mov ecx, eax
call fcn.00418d40
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
call fcn.0040b2f0
xor edi, edi
test dword [ebp - 0x19c], 0xfffffffc
jbe 0x40a094
mov dword [ebp - 0x90], method.CVolObjectArray.virtual_0
mov dword [ebp - 0x90], vtable.CVolObject.0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0x42252c
mov dword [ebp - 0x90], vtable.CWString.0
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x80], vtable.CVolObject.0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x80], vtable.CVolMem.0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0x40
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x68], 0xfe
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x64], 0x42252c
mov dword [ebp - 0x64], vtable.CVolObject.0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0x42252c
mov dword [ebp - 0x64], vtable.CWString.0
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x54], vtable.CVolObject.0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x54], vtable.CVolMem.0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0x40
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x3c], 0xfe
mov byte [ebp - 4], 0x12
mov dword [ebp - 0xbc], 0x42252c
mov dword [ebp - 0xbc], vtable.CVolObject.0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 0x42252c
mov dword [ebp - 0xbc], vtable.CWString.0
mov dword [ebp - 0x150], eax
mov dword [ebp - 0xac], vtable.CVolObject.0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xac], vtable.CVolMem.0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x94], 0x40
mov byte [ebp - 4], 0x15
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x94], 0xfe
mov byte [ebp - 4], 0x16
xor ecx, ecx
mov eax, dword [ebp - 0x1a4]
cmp dword [ebp - 0x19c], ecx
cmove eax, ecx
lea ecx, [ebp - 0x114]
mov edx, dword [eax + edi*4]
call fcn.0040afa0
mov byte [ebp - 4], 0x17
test edx, edx
mov eax, 0x422b94
mov dword [ebp - method.CVolObjectArray.virtual_0], vtable.CWString.0
cmovne eax, edx
lea ecx, [ebp - 0x114]
push eax
call fcn.0041bae0
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x44]
cmp eax, fcn.00401380
je 0x409b5f
lea ecx, [ebp - 0x90]
call eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x44]
cmp eax, fcn.00401380
je 0x409b95
lea ecx, [ebp - 0x80]
call eax
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x80]
call fcn.00401ed0
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x104]
mov dword [ebp - 0x154], eax
mov dword [ebp - method.CVolObjectArray.virtual_0], vtable.CVolMem.0
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
je 0x409bf1
mov eax, dword [ebp - 0x104]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolObjectArray.virtual_12
jne 0x409be9
mov ecx, 0x42a9d8
call fcn.0041b040
jmp 0x409bf1
lea ecx, [ebp - 0x104]
call eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xf4], 0
mov byte [ebp - 4], 0x19
mov dword [ebp - method.CVolObjectArray.virtual_0], vtable.CVolObject.0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1ec]
mov dword [ebp - method.CVolObjectArray.virtual_0], vtable.CVolObject.0
call fcn.0040afa0
mov byte [ebp - 4], 0x1c
mov dword [ebp - method.CVolObjectArray.virtual_0], vtable.CWConstString.0
mov dword [ebp - 0x1e0], 0x422978
mov byte [ebp - 4], 0x1d
sub esp, 0xc
lea eax, [ebp - 0x1ec]
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x194]
push eax
call fcn.0040c850
mov esi, eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x64]
call dword [edx + 0x44]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x60], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x54]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
call dword [eax + 0x44]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00401ed0
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x184]
mov dword [ebp - 0x158], eax
mov dword [ebp - method.CVolObjectArray.virtual_0], vtable.CVolMem.0
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x178]
test ecx, ecx
je 0x409cf0
mov eax, dword [ebp - 0x184]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolObjectArray.virtual_12
jne 0x409ce8
mov ecx, 0x42a9d8
call fcn.0041b040
jmp 0x409cf0
lea ecx, [ebp - 0x184]
call eax
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x174], 0
mov byte [ebp - 4], 0x1f
mov dword [ebp - method.CVolObjectArray.virtual_0], vtable.CVolObject.0
mov byte [ebp - 4], 0x1d
mov dword [ebp - method.CVolObjectArray.virtual_0], vtable.CVolObject.0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1ec]
call fcn.0040b2f0
lea ecx, [ebp - 0x140]
call fcn.0040afa0
mov byte [ebp - 4], 0x23
mov dword [ebp - method.CVolObjectArray.virtual_0], vtable.CWConstString.0
mov dword [ebp - 0x134], 0x422978
mov byte [ebp - 4], 0x24
sub esp, 0xc
lea eax, [ebp - 0x140]
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0xe8]
push eax
call fcn.0040c900
mov esi, eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0xbc]
mov edx, dword [ebp - 0xbc]
call dword [edx + 0x44]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xb8], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0xac]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
call dword [eax + 0x44]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0xac]
call fcn.00401ed0
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0xd8], vtable.CVolMem.0
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x409e16
mov eax, dword [ebp - 0xd8]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolObjectArray.virtual_12
jne 0x409e0e
mov ecx, 0x42a9d8
call fcn.0041b040
jmp 0x409e16
lea ecx, [ebp - 0xd8]
call eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], 0
mov byte [ebp - 4], 0x26
mov dword [ebp - 0xd8], vtable.CVolObject.0
mov byte [ebp - 4], 0x24
mov dword [ebp - 0xe8], vtable.CVolObject.0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x140]
call fcn.0040b2f0
mov ecx, dword [ebp - 0x58]
test ecx, ecx
jne 0x409e73
cmp dword [ebp - 0x40], 0
mov ecx, 0x422b94
cmovne ecx, dword [ebp - 0x48]
mov eax, 0x422b94
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x409e9e
test dx, dx
je 0x409e9a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x409e9e
add ecx, 4
add eax, 4
test dx, dx
jne 0x409e78
xor eax, eax
jmp 0x409ea3
sbb eax, eax
or eax, 1
test eax, eax
je 0x409f15
cmp dword [ebx + 0x10c], 0
je 0x409f15
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x218]
call fcn.0040ceb0
mov esi, eax
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 0x44]
cmp eax, fcn.00401380
je 0x409ed6
lea ecx, [ebp - 0x64]
call eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x44]
cmp eax, fcn.00401380
je 0x409efa
lea ecx, [ebp - 0x54]
call eax
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00401ed0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x218]
call fcn.0040b2f0
push ecx
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00406350
mov byte [ebp - 4], 0x2b
lea eax, [ebp - 0xac]
mov dword [ebp - 0x160], eax
mov dword [ebp - 0xac], vtable.CVolMem.0
mov byte [ebp - 4], 0x2d
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
je 0x409f73
mov eax, dword [ebp - 0xac]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolObjectArray.virtual_12
jne 0x409f6b
mov ecx, 0x42a9d8
call fcn.0041b040
jmp 0x409f73
lea ecx, [ebp - 0xac]
call eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0xac], vtable.CVolObject.0
mov byte [ebp - 4], 0x12
mov dword [ebp - 0xbc], vtable.CVolObject.0
mov byte [ebp - 4], 0x2e
lea eax, [ebp - 0x54]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x54], vtable.CVolMem.0
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x409feb
mov eax, dword [ebp - 0x54]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolObjectArray.virtual_12
jne 0x409fe6
mov ecx, 0x42a9d8
call fcn.0041b040
jmp 0x409feb
lea ecx, [ebp - 0x54]
call eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0x2e
mov dword [ebp - 0x54], vtable.CVolObject.0
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x64], vtable.CVolObject.0
mov byte [ebp - 4], 0x31
lea eax, [ebp - 0x80]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x80], vtable.CVolMem.0
mov byte [ebp - 4], 0x33
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x40a054
mov eax, dword [ebp - 0x80]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolObjectArray.virtual_12
jne 0x40a04f
mov ecx, 0x42a9d8
call fcn.0041b040
jmp 0x40a054
lea ecx, [ebp - 0x80]
call eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 0x31
mov dword [ebp - 0x80], vtable.CVolObject.0
mov byte [ebp - 4], 7
inc edi
mov eax, dword [ebp - 0x19c]
shr eax, 2
mov dword [ebp - 0x90], vtable.CVolObject.0
cmp edi, eax
jl 0x409920
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x1b4]
call fcn.0040b3a0
mov byte [ebp - 4], 0
mov dword [ebp - method.CVolObjectArray.virtual_0], vtable.CVolObject.0
jmp 0x40a0db
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40a0c7
cmp dword [ebp - 0x14], 0
mov eax, 0x422b94
cmovne eax, dword [ebp - 0x1c]
push 0xa0000000
push 0xffffffffffffffff
push eax
push dword [0x42a9c0]
call dword [0x42ab28]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040b2f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret