Function at 0x413114
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
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 0xc
call fcn.0043d40e
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x520bf7
push ebx
add ebx, 8
push ebx
push 8
call fcn.0043d40e
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040ab5a
pop ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
call fcn.00413be2
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4131e8
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x30]
call fcn.00404177
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x58], ebx
push str.client_key3c2cd3f3csfalsesig__NStokensig__NS_sig3
mov ebx, dword [ebp - 0x58]
push dword [ebx]
push 0x52097a
push dword [ebp - 4]
push str.cGENERICbottom_navigationfalsekeyconfig_state2fttdarkModefalsetotalMemory3946iuiddid_gt
mov ebx, dword [ebp - 0x54]
push dword [ebx]
push str.ddpi320tfcOpOrderList_5B_22S_353926C9D720_22_5Dandroid_os0power_mode0netWIFIapp0osandroiddevice_abiarm64ud
mov ebx, dword [ebp - 0x50]
push dword [ebx]
push str.androidApiLevel25kpfANDROID_PHONEbrowseType4did
push dword [ebp - 4]
push str.languagezh_cnver10.2country_codecnabiarm32kpnKUAISHOUuQaTag0_23sh1280app_status3nbh0cold_launch_time_ms
mov ebx, dword [ebp - 0x4c]
push dword [ebx]
push str.oDidTEST_
mov ebx, dword [ebp - 0x48]
push dword [ebx]
push str.sw720slh0rdid
mov ebx, dword [ebp - 0x44]
push dword [ebx]
push str.sbh48hotfix_verappver10.2.30.24518grant_browse_typeAUTHORIZEDuserRecoBit0socNameQualcomm_20MSM8998newOcGENERICmax_memory192ispCMCCkcv1513pageSize1000boardPlatformQC_Reference_Phonedid_tag6sys
mov ebx, dword [ebp - 0x40]
push dword [ebx]
push str.is_background0deviceBit0ocGENERICegid
push dword [ebp - 0x3c]
push str.https:__open.kuaishou.com_oauth2_app_authorization_list_mod
mov ecx, 0x15
call fcn.004014a8
add esp, 0x54
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4132e7
push ebx
call fcn.0043d414
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4132fb
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, 0x51fdcb
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x413315
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00408e37
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41333d
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x30]
call fcn.0040a36f
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41336f
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov eax, str._oauth2_app_authorization_list
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.004140c2
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41339b
push ebx
call fcn.0043d414
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4133af
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push str.__NS_sig3
push dword [ebp - 0x14]
push str.__NStokensig
push dword [ebp - 0x10]
push str.sig
push dword [ebp - 8]
mov ecx, 7
call fcn.004014a8
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4133f2
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 5
call fcn.0040b808
mov dword [ebp - 0x30], eax
push getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x413416
mov eax, 0x51fdcb
push eax
push 1
mov ebx, 0x43d9e0
call fcn.0043d41a
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x43f400
call fcn.0043d41a
add esp, 0x10
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
push str._r_nUser_Agent:_kwai_ios_r_nAccept_Language:_zh_Hans_CN_q1_r_nContent_Length:
push dword [ebp - 0x30]
push str.Host:_open.kuaishou.com_r_nAccept:_application_json_r_nContent_Type:_application_x_www_form_urlencoded_r_nConnection:_keep_alive_r_nX_REQUESTID:
mov ecx, 4
call fcn.004014a8
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x413476
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x413486
push ebx
call fcn.0043d414
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41349a
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
push 0
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 8
call fcn.0043d40e
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push 0
lea eax, [ebp - 8]
push eax
call fcn.0040c10f
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x41359d
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4135ad
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4135bd
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4135cd
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4135dd
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4135ed
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4135fd
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x38]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x441960
call fcn.0043d41a
add esp, 0x10
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x68]
push eax
call fcn.00410ada
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x41363c
push ebx
call fcn.0043d414
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x413650
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x20
call fcn.0043d40e
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x30]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4136ac
push ebx
call fcn.0043d414
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4136c0
push ebx
call fcn.0043d414
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4136d4
push ebx
call fcn.0043d414
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4136e8
push ebx
call fcn.0043d414
add esp, 4
pop ebx
call fcn.0043d414
add esp, 4
push 1
mov eax, str.result
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x413720
push ebx
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
push 0x520a27
push dword [ebp - 0x38]
call fcn.004013a0
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41376f
push ebx
call fcn.0043d414
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x4137cb
push getpeername
push 0
push 0x520a2b
push 0x80000301
push 0
push 0xd
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
mov eax, 0
jmp 0x413b3a
push 1
mov eax, str.result
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4137fa
push ebx
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
push 0x520a23
push dword [ebp - 0x38]
call fcn.004013a0
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x413849
push ebx
call fcn.0043d414
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x4138a5
push getpeername
push 0
push 0x51fd90
push 0x80000301
push 0
push 0xd
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
mov eax, 0
jmp 0x413b3a
push 1
mov eax, str.data.authList
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4138d4
push ebx
call fcn.0043d414
add esp, 4
mov eax, dword [ebp - 0x34]
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4139a0
fild dword [ebp - 0x28]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x51fd88]
fstp qword [ebp - 0x3c]
push 0x80000601
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 1
mov ebx, 0x43f400
call fcn.0043d41a
add esp, 0x10
mov dword [ebp - 0x40], eax
push str._.appName
push dword [ebp - 0x40]
push str.data.authList_
mov ecx, 3
call fcn.004014a8
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41394d
push ebx
call fcn.0043d414
add esp, 4
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push 1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x413980
push ebx
call fcn.0043d414
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413994
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
pop eax
pop ebx
pop ecx
jmp 0x4138e0
add esp, 0xc
push 1
mov eax, str.result
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4139d2
push ebx
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
push 0x520a34
push dword [ebp - 0x38]
call fcn.004013a0
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x413a21
push ebx
call fcn.0043d414
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x413ae8
push 0x51fdcb
push dword [ebp - 0x2c]
call fcn.004013a0
add esp, 8
cmp eax, 0
jne 0x413a91
push getpeername
push 0
push 0x521c41
push 0x80000301
push 0
push 0xd
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
jmp 0x413ad9
push getpeername
push 0
push 0x51fe5c
push 0x80000301
push 0
push 0xd
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
mov eax, 1
jmp 0x413b3a
push getpeername
push 0
push 0x5217bd
push 0x80000301
push 0
push 0xd
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
mov eax, 0
jmp 0x413b3a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413b4b
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x413b5b
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x413b6b
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x413b7b
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x413b8b
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x413b9b
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x413bab
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x413bbb
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413bdb
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8