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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
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 dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 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, 0x47a1c0
call fcn.00411e4b
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406d94
push ebx
call fcn.00411e39
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16010c2f
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x47a1c0
call fcn.00411e4b
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406deb
push ebx
call fcn.00411e39
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0xffffffffffffffff
push 8
push 0x16011285
push 0x52010001
call fcn.00411e57
add esp, 0x10
mov dword [ebp - 0x24], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x406e1b
mov eax, 0x4b7e04
push eax
push 1
mov ebx, 0x4128b0
call fcn.00411e45
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406e44
push ebx
call fcn.00411e39
add esp, 4
fld qword [ebp - 0x2c]
call fcn.0040112a
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x407555
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
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
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
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
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
push 0
mov eax, str.http:__wechat.wboll.com_game_bestore_2015_shake_index
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.004075fa
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x406f02
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x406f12
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x406f22
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x406f32
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x406f42
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x406f52
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x406f62
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406f72
push ebx
call fcn.00411e39
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x406f86
push ebx
call fcn.00411e39
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 5
call fcn.0040a2ee
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406fb7
push ebx
call fcn.00411e39
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x4c058b
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.openid:_
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00408935
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x407007
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407017
push ebx
call fcn.00411e39
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40702b
push ebx
call fcn.00411e39
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push str.activity_id
mov ecx, 2
call fcn.004032c9
add esp, 8
mov dword [ebp - 0x24], 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
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
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
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 1
push 1
mov eax, str.http:__wechat.wboll.com_game_bestore_2015_shake_openmyboxlist
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.004075fa
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4070d9
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4070e9
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4070f9
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x407109
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x407119
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x407129
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407139
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407149
push ebx
call fcn.00411e39
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40715d
push ebx
call fcn.00411e39
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push dword [ebp - 0x18]
push str.fopenidactivity_id
push dword [ebp - 0x1c]
push str.openid
mov ecx, 4
call fcn.004032c9
add esp, 0x10
mov dword [ebp - 0x24], 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
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
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 1
push 1
mov eax, str.http:__wechat.wboll.com_game_bestore_2015_shake_doshake
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.004075fa
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x407212
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407222
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x407232
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x407242
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x407252
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x407262
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407272
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407282
push ebx
call fcn.00411e39
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x407296
push ebx
call fcn.00411e39
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x4b7e0d
push dword [ebp - 0x14]
push 0x4c0639
push dword [ebp - 8]
mov ecx, 4
call fcn.004032c9
add esp, 0x10
mov dword [ebp - 0x24], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4072cd
mov eax, 0x4b7e04
push eax
push 0x10005
push 0x16010f77
push 0x52010001
push 2
mov ebx, 0x414940
call fcn.00411e45
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4072ff
push ebx
call fcn.00411e39
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x407312
mov eax, 0x4b7e04
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, 0x47a3b0
call fcn.00411e4b
add esp, 0x34
push str.awardid49
push dword [ebp - 0x1c]
push str.openid
mov ecx, 3
call fcn.004032c9
add esp, 0xc
mov dword [ebp - 0x24], 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
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
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 1
push 1
mov eax, str.http:__wechat.wboll.com_game_bestore_2015_shake_getaward
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.004075fa
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4073fd
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40740d
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40741d
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40742d
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40743d
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40744d
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40745d
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40746d
push ebx
call fcn.00411e39
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x407481
push ebx
call fcn.00411e39
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x4b7e0d
push dword [ebp - 0x14]
push 0x4c0639
push dword [ebp - 8]
mov ecx, 4
call fcn.004032c9
add esp, 0x10
mov dword [ebp - 0x24], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4074b8
mov eax, 0x4b7e04
push eax
push 0x10005
push 0x16010f77
push 0x52010001
push 2
mov ebx, 0x414940
call fcn.00411e45
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4074ea
push ebx
call fcn.00411e39
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601157a
push 0x52010001
call fcn.00411e57
add esp, 0x10
mov dword [ebp - 0x24], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x407516
mov eax, 0x4b7e04
push eax
push 1
mov ebx, 0x412a10
call fcn.00411e45
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40753c
push ebx
call fcn.00411e39
add esp, 4
push 1
push 1
push 1
push dword [ebp - 0x28]
call fcn.0040a6f8
pop eax
pop ebx
pop ecx
jmp 0x406e5b
add esp, 0xc
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16010c2f
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x47a3d0
call fcn.00411e4b
add esp, 0x28
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4075a4
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4075b4
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4075c4
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4075d4
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4075e4
push ebx
call fcn.00411e39
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4075f4
push ebx
call fcn.00411e39
add esp, 4
mov esp, ebp
pop ebp
ret 4