Function at 0x4106be
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
push 0xc
call fcn.004382cb
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4f7495
push ebx
add ebx, 8
push ebx
push 8
call fcn.004382cb
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.0040f690
pop ebx
mov dword [ebp - 0x20], 0
push 0x4df89c
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.00401ede
add esp, 8
cmp eax, 0
jne 0x410794
call fcn.00410f26
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41078e
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push 0x4df89c
mov ebx, dword [ebp + 0x18]
push dword [ebx]
call fcn.00401ede
add esp, 8
cmp eax, 0
jne 0x4107d3
call fcn.004118b9
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4107cd
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x18]
mov dword [ebx], 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, 0x4f711f
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call fcn.00402338
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x410812
push ebx
call fcn.004382d7
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.0041204b
mov dword [ebp - 0x44], eax
push str.ver7.2
push dword [ebp - 0x44]
push str.cGENERICsysANDROID_5.1.1sw480fttlllanguagezh_cniuidlat0did_gt
push dword [ebp - 0x30]
push str.netWIFIapp0ud
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str.sbh25hotfix_versh800appver7.2.4.13202nbh0socNameUNKNOWNmax_memory192ispCMCCkcv1429browseType1kpfANDROID_PHONEddpi160did
mov ebx, dword [ebp + 0x18]
push dword [ebx]
push str.https:__api3.ksapisrv.com_rest_n_relation_friends_modOPPO_28OPPO_20R9m_29lon0country_codecnkpnKUAISHOUocGENERICegid
mov ecx, 9
call fcn.00401746
add esp, 0x24
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410891
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4108a1
push ebx
call fcn.004382d7
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4108b5
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov dword [ebp - 4], eax
push str.osandroid
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.token
mov ebx, dword [ebp + 0x20]
push dword [ebx]
push str.tfcOpOrderList_5B_22pop_up_72_24_1_22_2C_22S_9B77B0C635BA_22_5Dclient_key3c2cd3f3kuaishou.api_st
mov ecx, 5
call fcn.00401746
add esp, 0x14
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4108f6
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov dword [ebp - 8], 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, 0x4f7caf
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00402338
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41093a
push ebx
call fcn.004382d7
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x30]
push eax
call fcn.0041254c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41096a
push ebx
call fcn.004382d7
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41097e
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00401746
add esp, 8
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4109ad
mov eax, 0x4df89c
push eax
push 1
mov ebx, 0x439920
call fcn.004382d1
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4109d3
push ebx
call fcn.004382d7
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004132f5
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4109ef
push ebx
call fcn.004382d7
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410a03
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov eax, str._rest_n_relation_friends
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00413f5f
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x410a2f
push ebx
call fcn.004382d7
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410a43
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0xc]
push str.osandroidsig
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.token
push dword [ebp - 0x10]
push str.__NStokensig
push dword [ebp - 0x14]
push str.__NS_sig3
mov ebx, dword [ebp + 0x20]
push dword [ebx]
push str.tfcOpOrderList_5B_22pop_up_72_24_1_22_2C_22S_9B77B0C635BA_22_5Dclient_key3c2cd3f3kuaishou.api_st
mov ecx, 0xa
call fcn.00401746
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x410a97
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 8
call fcn.004382cb
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
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
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 8]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.00409b00
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x410ba6
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x410bb6
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x410bc6
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x410bd6
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x410be6
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x410bf6
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x410c06
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410c16
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x43bfb0
call fcn.004382d1
add esp, 0x10
call fcn.004382d7
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x410c4c
mov eax, 0x4df8cf
push eax
push 1
mov ebx, 0x439f20
call fcn.004382d1
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x410c72
push ebx
call fcn.004382d7
add esp, 4
lea eax, [ebp - 0x68]
push eax
call fcn.0040de88
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x410c8e
push ebx
call fcn.004382d7
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x410ca2
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x20
call fcn.004382cb
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x410d01
push ebx
call fcn.004382d7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x410d15
push ebx
call fcn.004382d7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x410d29
push ebx
call fcn.004382d7
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x410d3d
push ebx
call fcn.004382d7
add esp, 4
pop ebx
call fcn.004382d7
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x410d5a
mov eax, 0xffffffff
jmp 0x410e9e
push 1
mov eax, str.result
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x410d89
push ebx
call fcn.004382d7
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004382d7
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x410dbe
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x4f7447
push dword [ebp - 0x20]
call fcn.00401ede
add esp, 8
cmp eax, 0
jne 0x410de5
mov eax, 1
jmp 0x410e9e
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x410e01
push eax
mov ebx, eax
call fcn.004016db
inc eax
push eax
call fcn.004382cb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x410e14
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x30]
mov dword [ebx], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
mov eax, str._error_msg_
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x410e55
push ebx
call fcn.004382d7
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x28]
mov ebx, dword [ebx]
test ebx, ebx
je 0x410e6b
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x28]
mov dword [ebx], eax
push getpeername
push 0
mov ebx, dword [ebp + 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x410e86
mov eax, 0x4df89c
push eax
push 1
mov ebx, 0x439030
call fcn.004382d1
add esp, 0x10
jmp 0x410e9e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x410eaf
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x410ebf
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x410ecf
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410edf
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410eef
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x410eff
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x410f1f
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x30