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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
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
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x1601410a
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x478910
call fcn.0041161e
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4035f5
push ebx
call fcn.00411606
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x1601410a
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x478910
call fcn.0041161e
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40364c
push ebx
call fcn.00411606
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x4a9a84
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404001
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x403690
push ebx
call fcn.00411606
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4036a4
push ebx
call fcn.00411606
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x412d90
call fcn.0041160c
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4036db
push ebx
call fcn.00411606
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
push 8
push 0x1601acb5
push 0x52010001
call fcn.00411624
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4a9a68
push dword [ebp - 0x20]
call fcn.004010f2
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403726
push ebx
call fcn.00411606
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x403f67
push 0xffffffffffffffff
push 8
push 0x1601aa20
push 0x52010001
call fcn.00411624
add esp, 0x10
mov dword [ebp - 0x20], eax
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40375c
mov eax, 0x4a9a68
push eax
push 1
mov ebx, 0x411f60
call fcn.0041160c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403785
push ebx
call fcn.00411606
add esp, 4
fld qword [ebp - 0x28]
call fcn.004010cb
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x403f5f
call fcn.004015ca
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x412d90
call fcn.0041160c
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4037dc
push ebx
call fcn.00411606
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push getpeername
push 0
push 0x4a9baa
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x1601410a
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x478b00
call fcn.0041161e
add esp, 0x34
push 0x4a9baf
push dword [ebp - 8]
push 0x4a9c10
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x20], eax
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
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 - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
mov eax, str.PHPSESSID4sf2qgctpg72ob7ehbfbf6uuv5
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 0
lea eax, [ebp - 0x20]
push eax
call fcn.004041df
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4038de
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4038ee
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4038fe
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40390e
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40391e
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40392e
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40393e
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40394e
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40395e
push ebx
call fcn.00411606
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403972
push ebx
call fcn.00411606
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
push 8
push 0x1601acb5
push 0x52010001
call fcn.00411624
add esp, 0x10
mov dword [ebp - 0x20], eax
push str.id11cid8tokenynfnwq1443073329errorno0longitude105.02092184391249latitude26.771667198587497
push dword [ebp - 0x20]
push 0x4a9dbd
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4039bc
push ebx
call fcn.00411606
add esp, 4
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
mov eax, str.PHPSESSID4sf2qgctpg72ob7ehbfbf6uuv5
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 1
push 1
mov eax, str.http:__wx.wesogou.com_index.php_gWapmCashpacketahongbao
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
call fcn.004041df
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x403a56
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x403a66
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x403a76
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x403a86
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x403a96
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x403aa6
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403ab6
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403ac6
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x403ad6
push ebx
call fcn.00411606
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403aea
push ebx
call fcn.00411606
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406eec
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403b0e
push ebx
call fcn.00411606
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x4a9e02
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.mes_:_
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004075f2
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403b5e
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x403b6e
push ebx
call fcn.00411606
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403b82
push ebx
call fcn.00411606
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x403b99
mov eax, 0x4a9a68
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x1601410a
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x478b00
call fcn.0041161e
add esp, 0x34
push 0x4a9e0c
push dword [ebp - 0x1c]
call fcn.004010f2
add esp, 8
cmp eax, 0
jne 0x403d1c
fild dword [ebp + 8]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x4a9a79]
fstp qword [ebp - 0x2c]
push 0x80000601
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 1
mov ebx, 0x412d90
call fcn.0041160c
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x4a9e27
push dword [ebp - 0x30]
push 0x4a9e37
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403c4e
push ebx
call fcn.00411606
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x403c61
mov eax, 0x4a9a68
push eax
push 0x10005
push 0x1601ad1c
push 0x52010001
push 2
mov ebx, 0x413be0
call fcn.0041160c
add esp, 0x1c
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403c93
push ebx
call fcn.00411606
add esp, 4
push getpeername
push 0
push 0x4a9e3c
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x1601410a
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x478b00
call fcn.0041161e
add esp, 0x34
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x1601410a
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x478b20
call fcn.0041161e
add esp, 0x28
jmp 0x403d64
push getpeername
push 0
push 0x4a9e45
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x1601410a
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x478b00
call fcn.0041161e
add esp, 0x34
fild dword [ebp + 8]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x4a9a79]
fstp qword [ebp - 0x2c]
push 0x80000601
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 1
mov ebx, 0x412d90
call fcn.0041160c
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x18]
push 0x4a9e4e
push dword [ebp - 0x30]
push 0x4a9e37
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403dc6
push ebx
call fcn.00411606
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x403dd9
mov eax, 0x4a9a68
push eax
push 0x10005
push 0x1601aa19
push 0x52010001
push 2
mov ebx, 0x413be0
call fcn.0041160c
add esp, 0x1c
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403e0b
push ebx
call fcn.00411606
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str.today_had_won_3_times
push getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x403e3c
mov eax, 0x4a9a68
push eax
push 4
mov ebx, 0x411d90
call fcn.0041160c
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x403ea9
push getpeername
push 0
push 0x4a9e6d
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x1601410a
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x478b00
call fcn.0041161e
add esp, 0x34
jmp 0x403f5f
push getpeername
push 0
push 0x4a9e78
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x1601410a
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x478b00
call fcn.0041161e
add esp, 0x34
push 0xffffffffffffffff
push 8
push 0x1601aa1e
push 0x52010001
call fcn.00411624
add esp, 0x10
mov dword [ebp - 0x20], eax
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x403f1d
mov eax, 0x4a9a68
push eax
push 1
mov ebx, 0x4120c0
call fcn.0041160c
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403f43
push ebx
call fcn.00411606
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x24]
call fcn.0040778e
pop eax
pop ebx
pop ecx
jmp 0x403796
add esp, 0xc
jmp 0x403f9b
mov ebx, 6
call fcn.00402431
push 0x80000301
push 0
push 0
push getpeername
push 0
push 0x4a9e7d
push 4
mov ebx, 0x413670
call fcn.0041160c
add esp, 0x34
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403fab
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403fbb
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x403fcb
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x403fdb
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403feb
push ebx
call fcn.00411606
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403ffb
push ebx
call fcn.00411606
add esp, 4
mov esp, ebp
pop ebp
ret 4