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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16010c2f
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x479350
call fcn.00410261
add esp, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405b3f
push ebx
call fcn.00410243
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4ea3ce
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16010c2f
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x479540
call fcn.00410261
add esp, 0x34
xor ecx, ecx
lea eax, [ebp - 8]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x2710
jg 0x406011
call fcn.0040604a
cmp dword [0x53ace8], 1
jne 0x405bba
jmp 0x406011
call fcn.00406095
mov dword [ebp - 0x14], eax
push 0x4ea3d7
push dword [ebp - 0x14]
push 0x4ea3e1
mov ecx, 3
call fcn.004016bf
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x405bef
push ebx
call fcn.00410243
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
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
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, str.X_Requested_With:_XMLHttpRequest_r_nUser_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_7_1_2_like_Mac_OS_X__AppleWebKit_537.51.2__KHTML__like_Gecko__Mobile_11D257_MicroMessenger_6.0.1_NetType_WIFI_r_nReferer:_http:__wqs.jd.com_event_chaoshi_csjianianhua_index.shtml
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.00406392
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405c80
push ebx
call fcn.00410243
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x405c90
push ebx
call fcn.00410243
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x405ca0
push ebx
call fcn.00410243
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x405cb0
push ebx
call fcn.00410243
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405cc0
push ebx
call fcn.00410243
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405cd0
push ebx
call fcn.00410243
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405ce0
push ebx
call fcn.00410243
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405cf0
push ebx
call fcn.00410243
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x405d03
mov eax, 0x4d058a
push eax
push 1
mov ebx, 0x4116c0
call fcn.00410249
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x405d29
push ebx
call fcn.00410243
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405d3d
push ebx
call fcn.00410243
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00402e4a
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x4ea529
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.awardmsg_:_
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00405670
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405d96
push ebx
call fcn.00410243
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405da6
push ebx
call fcn.00410243
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405dba
push ebx
call fcn.00410243
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x4d1762
push dword [ebp - 0x10]
call fcn.00403241
add esp, 8
cmp eax, 0
jne 0x405e88
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x4116c0
call fcn.00410249
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x4ea537
push dword [ebp - 0x14]
push 0x4ea53f
mov ecx, 3
call fcn.004016bf
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x405e23
push ebx
call fcn.00410243
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x405e36
mov eax, 0x4d1762
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16010c2f
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x479540
call fcn.00410261
add esp, 0x34
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405e83
push ebx
call fcn.00410243
add esp, 4
jmp 0x405f84
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x4116c0
call fcn.00410249
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
push 0x4ea541
push dword [ebp - 0x14]
push 0x4ea53f
mov ecx, 4
call fcn.004016bf
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x405ed7
push ebx
call fcn.00410243
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x405eea
mov eax, 0x4d1762
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16010c2f
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x479540
call fcn.00410261
add esp, 0x34
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405f37
push ebx
call fcn.00410243
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4ea547
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16010c2f
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x479540
call fcn.00410261
add esp, 0x34
jmp 0x406011
push 0xffffffffffffffff
push 8
push 0x1601a3cd
push 0x52010001
call fcn.0041025b
add esp, 0x10
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x405fb0
mov eax, 0x4d1762
push eax
push 1
mov ebx, 0x410ba0
call fcn.00410249
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x405fd6
push ebx
call fcn.00410243
add esp, 4
fild dword [ebp - 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [0x4ea54e]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.004013a1
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x412ae0
call fcn.00410249
add esp, 0x10
pop ebx
pop ecx
jmp 0x405b92
add esp, 8
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406024
push ebx
call fcn.00410243
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x406034
push ebx
call fcn.00410243
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406044
push ebx
call fcn.00410243
add esp, 4
mov esp, ebp
pop ebp
ret 4