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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [0xfb9c9c]
test eax, eax
je 0x46b6dc
push eax
mov ebx, eax
call fcn.004010d0
inc eax
push eax
call fcn.00515ee9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x46b6ed
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 8
push 0x160b547a
push 0x52010001
call fcn.00515f19
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
push 8
push 0x160b5478
push 0x52010001
call fcn.00515f19
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 0xc282f1
push dword [ebp - 0x18]
mov ecx, 3
call fcn.0040113b
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x46b74e
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x46b75e
push ebx
call fcn.00515eef
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x46b771
mov eax, 0x65d6b8
push eax
push 1
mov ebx, 0x517b40
call fcn.00515f01
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x46b797
push ebx
call fcn.00515eef
add esp, 4
lea eax, [ebp - 0x24]
push eax
call fcn.0041c882
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46b7b3
push ebx
call fcn.00515eef
add esp, 4
push dword [ebp - 0x28]
push str.AuthorizationBasic_20
mov ecx, 2
call fcn.0040113b
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x46b7db
push ebx
call fcn.00515eef
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x46b7ef
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0xc9ede3
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00405dfb
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x46b833
push ebx
call fcn.00515eef
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x46b847
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x65d6b8
push dword [ebp - 0xc]
call fcn.0040102b
add esp, 8
cmp eax, 0
jne 0x46b895
mov eax, dword [ebp - 4]
test eax, eax
je 0x46b880
push eax
mov ebx, eax
call fcn.004010d0
inc eax
push eax
call fcn.00515ee9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x46b891
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
push 8
push 0x160b547a
push 0x52010001
call fcn.00515f19
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
push 8
push 0x160b5478
push 0x52010001
call fcn.00515f19
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 0xc282f1
push dword [ebp - 0x18]
mov ecx, 3
call fcn.0040113b
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x46b8f2
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x46b902
push ebx
call fcn.00515eef
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x46b915
mov eax, 0x65d6b8
push eax
push 1
mov ebx, 0x517b40
call fcn.00515f01
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x46b93b
push ebx
call fcn.00515eef
add esp, 4
lea eax, [ebp - 0x24]
push eax
call fcn.0041c882
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46b957
push ebx
call fcn.00515eef
add esp, 4
push dword [ebp - 0xc]
push str._r_nAccept:_text_html__application_xhtmlxml____r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0__r_nConnection:_Keep_Alive_r_nReferer:
push dword [ebp - 0x28]
push str.Authorization:_Basic
mov ecx, 4
call fcn.0040113b
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x46b987
push ebx
call fcn.00515eef
add esp, 4
push 8
call fcn.00515ee9
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
push 1
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
lea eax, [ebp - 4]
push eax
call fcn.0040759d
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x46ba67
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x46ba77
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46ba87
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x46ba97
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x46baa7
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x46bab7
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x46bac7
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x46bad7
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x46bae7
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x51be00
call fcn.00515f01
add esp, 0x10
call fcn.00515eef
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x46bb1d
mov eax, 0xb609c8
push eax
push 1
mov ebx, 0x518570
call fcn.00515f01
add esp, 0x10
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x46bb43
push ebx
call fcn.00515eef
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x46bb57
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Disconnect
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [0xfb9c9c]
test eax, eax
jne 0x46bb8e
mov eax, 0x65d6b8
push eax
push 4
mov ebx, 0x516de0
call fcn.00515f01
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x46bf9c
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x51a800
call fcn.00515f01
add esp, 0x10
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
mov ebx, 6
call fcn.004010c8
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Connect
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Disconnect
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [0xfb9c9c]
test eax, eax
jne 0x46bc0f
mov eax, 0x65d6b8
push eax
push 6
mov ebx, 0x5177c0
call fcn.00515f01
add esp, 0x4c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x46bc39
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
mov ebx, 6
call fcn.004010c8
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str._C1_AC_20_BD_D3
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str._B6_CF_20_CF_DF
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x46bc7e
mov eax, 0x65d6b8
push eax
push 6
mov ebx, 0x5177c0
call fcn.00515f01
add esp, 0x4c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x46bca8
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
mov ebx, 6
call fcn.004010c8
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.l_20
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xc9ee20
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x46bced
mov eax, 0x65d6b8
push eax
push 6
mov ebx, 0x5177c0
call fcn.00515f01
add esp, 0x4c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x46bd17
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push 8
push 0x160b547a
push 0x52010001
call fcn.00515f19
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
push 8
push 0x160b5478
push 0x52010001
call fcn.00515f19
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 0xc282f1
push dword [ebp - 0x18]
mov ecx, 3
call fcn.0040113b
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x46bd78
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x46bd88
push ebx
call fcn.00515eef
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x46bd9b
mov eax, 0x65d6b8
push eax
push 1
mov ebx, 0x517b40
call fcn.00515f01
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x46bdc1
push ebx
call fcn.00515eef
add esp, 4
lea eax, [ebp - 0x24]
push eax
call fcn.0041c882
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46bddd
push ebx
call fcn.00515eef
add esp, 4
push dword [ebp - 0xc]
push str._r_nAccept:_text_html__application_xhtmlxml____r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0__r_nConnection:_Keep_Alive_r_nReferer:
push dword [ebp - 0x28]
push str.Authorization:_Basic
mov ecx, 4
call fcn.0040113b
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x46be0d
push ebx
call fcn.00515eef
add esp, 4
push 8
call fcn.00515ee9
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
push 1
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
lea eax, [ebp - 0x14]
push eax
call fcn.0040759d
mov ebx, eax
test ebx, ebx
je 0x46bee9
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x46bef9
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x46bf09
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46bf19
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x46bf29
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x46bf39
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x46bf49
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x46bf59
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x46bf69
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x46bf79
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x51be00
call fcn.00515f01
add esp, 0x10
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x46bfac
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x46bfbc
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x46bfcc
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x46bfdc
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x46bfec
push ebx
call fcn.00515eef
add esp, 4
mov esp, ebp
pop ebp
ret