Function at 0x407410
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 4
call fcn.0040d997
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
push 0x20017
push 0
push ebx
push 1
mov eax, 1
mov ebx, 0x472e60
call fcn.0040d9a3
add esp, 0x10
mov dword [ebp - 8], 0
push 4
call fcn.0040d997
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
push 0x20004
push 0
push ebx
push 1
mov eax, 1
mov ebx, 0x46f260
call fcn.0040d9a3
add esp, 0x10
push 4
call fcn.0040d997
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
push 0x20004
push 0
push ebx
push 1
mov eax, 1
mov ebx, 0x46f260
call fcn.0040d9a3
add esp, 0x10
mov dword [ebp - 0x14], 0
push getpeername
push 0
push 1
push 0x20017
push 0
push dword [ebp - 4]
push 2
mov eax, 1
mov ebx, 0x4734c0
call fcn.0040d9a3
add esp, 0x1c
mov eax, str.https:__api.pinduoduo.com_api_origenes_address_pdduid0
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407506
push ebx
call fcn.0040d99d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, 9
call fcn.00401126
push getpeername
push 0
push str._r_n_____accesstoken_:__CYRP5JGOAOWPSITNTAH6HK74UJZNB6PAJY3TESLFMJOPFIH7IAOA112a827___r_n_____user_agent_:__android_8.0.1_6.59.0___r_n_____p_appname_:__pinduoduo___r_n_____referer_:__Android___r_n_____p_mediainfo_:__player2.0.3rtc3.0.0___r_n_____x_pdd_info_:__bold_free_3Dfalse_26bold_product_3D_26front_3D1_26tz_3DAsia_2FShanghai___r_n_____x_pdd_queries_:__width1080height2276net1brandRedmimodel21091116Cosv11appv6.59.0pl2___r_n_____p_proc_:__main___r_n_____x_b3_ptracer_:__hctrueabb23b92a57e4a82abb43ac231___r_n_____multi_set_:__0_0___r_n_____content_type_:__application_json_charsetUTF_8__r_n
push 0x20004
push 0
push dword [ebp - 0xc]
push 5
mov eax, 1
mov ebx, 0x46ff40
call fcn.0040d9a3
add esp, 0x40
push 1
push 0x3a
push 1
push 6
call fcn.0040526e
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.004052b9
mov dword [ebp - 0x20], eax
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x407581
mov eax, 0x4bfd80
push eax
push 1
mov ebx, 0x40eac0
call fcn.0040d9a9
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4075a7
push ebx
call fcn.0040d99d
add esp, 4
push 1
push 0
push 1
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.004055ba
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4075d1
push ebx
call fcn.0040d99d
add esp, 4
push 0x80000301
push 0
push 0x1a
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4075f0
mov eax, 0x4bfd80
push eax
push 2
mov ebx, 0x40def0
call fcn.0040d9a9
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407616
push ebx
call fcn.0040d99d
add esp, 4
push dword [ebp - 0x2c]
push str.hctrue
mov ecx, 2
call fcn.00401547
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40763e
push ebx
call fcn.0040d99d
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x407651
mov eax, 0x4bfd80
push eax
push getpeername
push 0
push str.x_b3_ptracer
push 0x20004
push 0
push dword [ebp - 0xc]
push 3
mov eax, 1
mov ebx, 0x46f400
call fcn.0040d9a3
add esp, 0x28
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40768f
push ebx
call fcn.0040d99d
add esp, 4
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4076a4
mov eax, 0x4bfd80
push eax
push getpeername
push 0
push str.AccessToken
push 0x20004
push 0
push dword [ebp - 0xc]
push 3
mov eax, 1
mov ebx, 0x46f400
call fcn.0040d9a3
add esp, 0x28
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4076e7
mov eax, 0x4bfd80
push eax
push getpeername
push 0
push str.address
push 0x20004
push 0
push dword [ebp - 0x10]
push 3
mov eax, 1
mov ebx, 0x46f400
call fcn.0040d9a3
add esp, 0x28
push 0x80000301
push 0
push dword [ebp + 0x10]
push getpeername
push 0
push str.province_id
push 0x20004
push 0
push dword [ebp - 0x10]
push 3
mov eax, 1
mov ebx, 0x46f420
call fcn.0040d9a3
add esp, 0x28
push getpeername
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x407761
mov eax, 0x4bfd80
push eax
push getpeername
push 0
push 0x59b27f
push 0x20004
push 0
push dword [ebp - 0x10]
push 3
mov eax, 1
mov ebx, 0x46f400
call fcn.0040d9a3
add esp, 0x28
push getpeername
push 0
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x4077a4
mov eax, 0x4bfd80
push eax
push getpeername
push 0
push str.mobile
push 0x20004
push 0
push dword [ebp - 0x10]
push 3
mov eax, 1
mov ebx, 0x46f400
call fcn.0040d9a3
add esp, 0x28
push getpeername
push 0
push 0x59b28b
push getpeername
push 0
push str.check_region
push 0x20004
push 0
push dword [ebp - 0x10]
push 3
mov eax, 1
mov ebx, 0x46f400
call fcn.0040d9a3
add esp, 0x28
push 0x80000301
push 0
push dword [ebp + 0x1c]
push getpeername
push 0
push str.district_id
push 0x20004
push 0
push dword [ebp - 0x10]
push 3
mov eax, 1
mov ebx, 0x46f420
call fcn.0040d9a3
add esp, 0x28
push getpeername
push 0
push 0x59ad7b
push getpeername
push 0
push str.is_default
push 0x20004
push 0
push dword [ebp - 0x10]
push 3
mov eax, 1
mov ebx, 0x46f400
call fcn.0040d9a3
add esp, 0x28
push 0x80000301
push 0
push dword [ebp + 0x20]
push getpeername
push 0
push str.city_id
push 0x20004
push 0
push dword [ebp - 0x10]
push 3
mov eax, 1
mov ebx, 0x46f420
call fcn.0040d9a3
add esp, 0x28
mov ebx, 0xc
call fcn.00401126
push getpeername
push 0
push 0
push 0x20004
push 0
push dword [ebp - 0x10]
push 6
mov eax, 1
mov ebx, 0x46f2e0
call fcn.0040d9a3
add esp, 0x4c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00405e72
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407908
push ebx
call fcn.0040d99d
add esp, 4
push 0x20004
push 0
push dword [ebp - 0xc]
push getpeername
push 0
push 1
push getpeername
push 0
lea eax, [ebp - 0x14]
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40793c
mov eax, 0x4bfdcb
push eax
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x407950
mov eax, 0x4bfd80
push eax
push 0x20017
push 0
push dword [ebp - 4]
push 6
mov eax, 1
mov ebx, 0x4731e0
call fcn.0040d9a3
add esp, 0x4c
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x407982
push ebx
call fcn.0040d99d
add esp, 4
mov ebx, 9
call fcn.00401126
push getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40799f
mov eax, 0x4bfd80
push eax
push 0x20004
push 0
push dword [ebp - 0x10]
push 5
mov eax, 1
mov ebx, 0x46ff40
call fcn.0040d9a3
add esp, 0x40
push getpeername
push 0
push str.address_id
push 0x20004
push 0
push dword [ebp - 0x10]
push 2
mov eax, 1
mov ebx, 0x46f300
call fcn.0040d9a3
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x4079f9
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x20017
push 0
push ebx
push 1
mov eax, 1
mov ebx, 0x472e80
call fcn.0040d9a3
add esp, 0x10
call fcn.0040d99d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407a32
push ebx
call fcn.0040d99d
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
push 0x20004
push 0
push ebx
push 1
mov eax, 1
mov ebx, 0x46f280
call fcn.0040d9a3
add esp, 0x10
call fcn.0040d99d
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
push 0x20004
push 0
push ebx
push 1
mov eax, 1
mov ebx, 0x46f280
call fcn.0040d9a3
add esp, 0x10
call fcn.0040d99d
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x407a92
push ebx
call fcn.0040d99d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c