Function at 0x42cc53
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
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 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x4f711f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.00402338
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x42cd22
push ebx
call fcn.004382d7
add esp, 4
push str.cGENERICsysANDROID_5.1.1sw480fttlllanguagezh_cniuidlat0did_gt1599443328448ver7.2
push dword [ebp - 0x2c]
push str.https:__apijs.ksapisrv.com_rest_n_teenage_mode_close_modHUAWEI_28VOG_AL00_29lon0country_codecnkpnKUAISHOUocGENERICegidsbh25hotfix_versh800appver7.2.4.13202nbh0socNameUNKNOWNmax_memory192ispCMCCkcv193browseType1kpfANDROID_PHONEddpi160didnetWIFIapp0ud
mov ecx, 3
call fcn.00401746
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x42cd4f
push ebx
call fcn.004382d7
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42cd63
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.password1client_key3c2cd3f3token
mov ecx, 3
call fcn.00401746
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42cd9a
push ebx
call fcn.004382d7
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, 0x4f7caf
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00402338
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x42cdde
push ebx
call fcn.004382d7
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
call fcn.0041254c
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x42ce0e
push ebx
call fcn.004382d7
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42ce22
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 - 0x20], eax
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x42ce51
mov eax, 0x4df89c
push eax
push 1
mov ebx, 0x439920
call fcn.004382d1
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42ce77
push ebx
call fcn.004382d7
add esp, 4
lea eax, [ebp - 0x24]
push eax
call fcn.004132f5
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42ce93
push ebx
call fcn.004382d7
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42cea7
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_teenage_mode_close
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00422f7e
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42ced3
push ebx
call fcn.004382d7
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42cee7
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.password1client_key3c2cd3f3__NS_sig3
mov ecx, 8
call fcn.00401746
add esp, 0x20
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42cf31
push ebx
call fcn.004382d7
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 dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 8
call fcn.004382cb
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x38], 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
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
push 1
lea eax, [ebp - 8]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.00409b00
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x42d040
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x42d050
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x42d060
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x42d070
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x42d080
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x42d090
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x42d0a0
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x42d0b0
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x2c]
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 - 0x60]
test eax, eax
jne 0x42d0e6
mov eax, 0x4df8cf
push eax
push 1
mov ebx, 0x439f20
call fcn.004382d1
add esp, 0x10
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x42d10c
push ebx
call fcn.004382d7
add esp, 4
lea eax, [ebp - 0x64]
push eax
call fcn.0040de88
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x42d128
push ebx
call fcn.004382d7
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42d13c
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 - 0x20], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
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 - 0x28], eax
mov ebx, dword [ebp - 0x20]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d19b
push ebx
call fcn.004382d7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d1af
push ebx
call fcn.004382d7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d1c3
push ebx
call fcn.004382d7
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d1d7
push ebx
call fcn.004382d7
add esp, 4
pop ebx
call fcn.004382d7
add esp, 4
cmp dword [ebp - 0x28], 0
jne 0x42d212
mov eax, 0x527727
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d202
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, 0
jmp 0x42d323
push 1
mov eax, str.result
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
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 - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42d241
push ebx
call fcn.004382d7
add esp, 4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004382d7
add esp, 4
push 0x4f7447
push dword [ebp - 0x28]
call fcn.00401ede
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x42d290
push ebx
call fcn.004382d7
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x42d2c2
mov eax, 0x527980
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d2b2
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, 1
jmp 0x42d323
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, str._error_msg_
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 + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42d2fd
push ebx
call fcn.004382d7
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d313
push ebx
call fcn.004382d7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, 0
jmp 0x42d323
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42d334
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42d344
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42d354
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42d364
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42d374
push ebx
call fcn.004382d7
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42d384
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
pop eax
mov esp, ebp
pop ebp
ret 0x10