Function at 0x403494
Capabilities:
Get geographical location
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
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
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, 0x473100
call fcn.0040bc9b
add esp, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403513
push ebx
call fcn.0040bc89
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 8
push 0x16014d8a
push 0x52010001
call fcn.0040bca1
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x403543
mov eax, 0x4af7f8
push eax
push 1
mov ebx, 0x40c4d0
call fcn.0040bc95
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40356c
push ebx
call fcn.0040bc89
add esp, 4
fld qword [ebp - 0x20]
call fcn.004017a3
mov dword [ebp - 8], 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, 0x473100
call fcn.0040bc9b
add esp, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4035ca
push ebx
call fcn.0040bc89
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
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 0x403cd3
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
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, str.User_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 - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
mov eax, str.longitude121.617latitude29.856accuracy65speed_1errMsggetLocation_3Aok
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 1
push 1
mov eax, str.http:__ddgj.game.weishangtui.com_Yaoyiyao_Game_loc.html
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00403d48
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x403682
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403692
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4036a2
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4036b2
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4036c2
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4036d2
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4036e2
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4036f2
push ebx
call fcn.0040bc89
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403706
push ebx
call fcn.0040bc89
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
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
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
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 - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
mov eax, str.gameid65
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 1
push 1
mov eax, str.http:__ddgj.game.weishangtui.com_Yaoyiyao_Game_startGame.html
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00403d48
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4037a4
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4037b4
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4037c4
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4037d4
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4037e4
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4037f4
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403804
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403814
push ebx
call fcn.0040bc89
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403828
push ebx
call fcn.0040bc89
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00406a3c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40384c
push ebx
call fcn.0040bc89
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x4af885
push dword [ebp - 0x14]
push 0x4dbd71
push dword [ebp - 0xc]
mov ecx, 4
call fcn.004010e8
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x403883
mov eax, 0x4af7f8
push eax
push 0x10005
push 0x16014d93
push 0x52010001
push 2
mov ebx, 0x40e290
call fcn.0040bc95
add esp, 0x1c
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4038b5
push ebx
call fcn.0040bc89
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4038c8
mov eax, 0x4af7f8
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, 0x4732f0
call fcn.0040bc9b
add esp, 0x34
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
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
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 - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
push 0
mov eax, str.http:__ddgj.game.weishangtui.com_Yaoyiyao_Game_shareAddUserGameCount.html
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00403d48
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40399e
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4039ae
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4039be
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4039ce
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4039de
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4039ee
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4039fe
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403a0e
push ebx
call fcn.0040bc89
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403a22
push ebx
call fcn.0040bc89
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
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
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
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 - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
push 0
mov eax, str.http:__ddgj.game.weishangtui.com_Yaoyiyao_Game_shareAddUserGameCount.html
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00403d48
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x403abf
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403acf
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403adf
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403aef
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x403aff
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403b0f
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403b1f
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403b2f
push ebx
call fcn.0040bc89
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403b43
push ebx
call fcn.0040bc89
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
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
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
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 - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
push 0
mov eax, str.http:__ddgj.game.weishangtui.com_Yaoyiyao_Game_shareAddUserGameCount.html
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00403d48
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x403be0
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403bf0
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403c00
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403c10
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x403c20
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403c30
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403c40
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403c50
push ebx
call fcn.0040bc89
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403c64
push ebx
call fcn.0040bc89
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push 8
push 0x16014d8c
push 0x52010001
call fcn.0040bca1
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x403c94
mov eax, 0x4af7f8
push eax
push 1
mov ebx, 0x40c630
call fcn.0040bc95
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403cba
push ebx
call fcn.0040bc89
add esp, 4
push 1
push 1
push 1
push dword [ebp - 0x1c]
call fcn.00407142
pop eax
pop ebx
pop ecx
jmp 0x4035da
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, 0x473310
call fcn.0040bc9b
add esp, 0x28
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403d22
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x403d32
push ebx
call fcn.0040bc89
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403d42
push ebx
call fcn.0040bc89
add esp, 4
mov esp, ebp
pop ebp
ret 4