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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 3
jg 0x45e8fc
mov eax, 0x5f5e2d
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x45e41e
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
push 1
push 1
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, str.Accept:_text_html__application_xhtmlxml____r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_nHost:_24mail.chacuo.net
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [ebp + 8]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
push 0
mov eax, str.http:__24mail.chacuo.net_
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00415eed
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x45e4e2
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x45e4f2
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x45e502
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x45e512
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x45e522
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45e532
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x45e542
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45e552
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x45e562
push ebx
call fcn.005039b9
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x45e575
mov eax, 0x5f5e98
push eax
push 1
mov ebx, 0x5060b0
call fcn.005039b3
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x45e59b
push ebx
call fcn.005039b9
add esp, 4
push 1
push 1
lea eax, [ebp - 0x40]
push eax
call fcn.0043e1a1
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x45e5be
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45e5d2
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x5f6557
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Set_Cookie:_sid
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004173a5
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45e622
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45e632
push ebx
call fcn.005039b9
add esp, 4
push dword [ebp - 0x20]
push str.sid
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x45e65a
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x45e670
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x5f7bfd
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.converts__type_text___value_
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004173a5
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45e6c2
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45e6d2
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x45e6e6
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
call fcn.0041838e
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push str.mail_ck2__bdshare_firstime
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x45e726
push ebx
call fcn.005039b9
add esp, 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.0041765e
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45e745
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x45e75b
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push str.typerefresharg
push dword [ebp - 0xc]
push 0x6004d7
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
push 1
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
mov eax, str.X_Requested_With:_XMLHttpRequest_r_nContent_Type:_application_x_www_form_urlencoded__charsetUTF_8_r_nAccept:___r_nReferer:_http:__24mail.chacuo.net__r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_nHost:_24mail.chacuo.net
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
push dword [ebp + 8]
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push 1
mov eax, str.http:__24mail.chacuo.net_
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00415eed
mov ebx, eax
test ebx, ebx
je 0x45e838
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x45e848
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x45e858
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x45e868
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x45e878
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x45e888
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x45e898
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x45e8a8
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45e8b8
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45e8c8
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45e8d8
push ebx
call fcn.005039b9
add esp, 4
push 0x5f5e2d
push dword [ebp - 0xc]
call fcn.004010e8
add esp, 8
cmp eax, 0
je 0x45e8f6
jmp 0x45e8fc
pop ecx
jmp 0x45e3fb
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x45e91b
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.005039ad
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x45e920
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45e931
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x45e941
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x45e951
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4