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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0xc
call fcn.005039ad
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x600636
push ebx
add ebx, 4
push ebx
push 8
call fcn.005039ad
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push 0xc
call fcn.005039ad
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x600636
push ebx
add ebx, 4
push ebx
push 8
call fcn.005039ad
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 1
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 1
push 1
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0xc], 0
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xa
jl 0x45f67f
jmp 0x45fb0a
cmp dword [ebp - 0xc], 1
jle 0x45f69c
push 1
push 1
push 1
push 0xa
call fcn.0041bfc4
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x5060b0
call fcn.005039b3
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x6005f2
push dword [ebp - 0x1c]
push 0x5fa8a9
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45f6e8
push ebx
call fcn.005039b9
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x45f6fb
mov eax, 0x5f5e2d
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 0x14]
push 0x20004
push 0x16012ac7
push 0x52010003
push 4
mov eax, 1
mov ebx, 0x571590
call fcn.005039d1
add esp, 0x34
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x45f748
push ebx
call fcn.005039b9
add esp, 4
push str.typerefresharg
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x6004d7
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x1c], 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
push dword [ebp - 0x2c]
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
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
push 1
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
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 - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
push dword [ebp + 8]
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
mov eax, str.http:__24mail.chacuo.net_
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00415eed
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x45f825
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45f835
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x45f845
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x45f855
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x45f865
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x45f875
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x45f885
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x45f895
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x45f8a5
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45f8b5
push ebx
call fcn.005039b9
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x45f8c8
mov eax, 0x5f5e98
push eax
push 1
mov ebx, 0x5060b0
call fcn.005039b3
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x45f8ee
push ebx
call fcn.005039b9
add esp, 4
push 1
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.0043e1a1
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x45f911
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x45f925
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 1
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 + 0x14]
test eax, eax
je 0x45faf1
mov eax, 0x5f5f2d
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45f972
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, str.list
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45f9e5
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x45faf1
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, str.SUBJECT
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45fa73
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x20]
call fcn.004010e8
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x45faa2
push ebx
call fcn.005039b9
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x45faf1
mov eax, 0x60060a
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45fad9
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x45faed
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x5f5e2d
push dword [ebp - 0x14]
call fcn.004010e8
add esp, 8
cmp eax, 0
je 0x45f66d
push 0x5f5e2d
push dword [ebp - 0x14]
call fcn.004010e8
add esp, 8
cmp eax, 0
je 0x45fe9b
push dword [ebp - 0x14]
push str.typemailinfoargf_3D
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x6004d7
mov ecx, 4
call fcn.0040108c
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, str.mail_ck4_
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.0041765e
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x45fb6c
push ebx
call fcn.005039b9
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 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
lea eax, [ebp - 0x40]
push eax
push 1
push 1
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
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 - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
mov eax, str.http:__24mail.chacuo.net_
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.00455c29
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x45fc2b
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45fc3b
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45fc4b
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x45fc5b
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x45fc6b
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x45fc7b
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x45fc8b
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x45fc9b
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x45fcab
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x45fcbb
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x45fccb
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x45fcdf
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 1
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 + 0x14]
test eax, eax
je 0x45fe9b
mov eax, 0x5f5f2d
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45fd2c
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, 0x60060a
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov ebx, eax
test ebx, ebx
je 0x45fe25
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45fe35
push ebx
call fcn.005039b9
add esp, 4
mov eax, str.DATA
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45fe62
push ebx
call fcn.005039b9
add esp, 4
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45fe97
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x45feb7
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 0x45febc
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x45feed
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x45fefd
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45ff0d
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10