Function at 0x10042c40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2510
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x44], ebx
mov edi, ecx
mov dword [ebp - 0x48], edi
push str.timing
call fcn.1000a640
test eax, eax
je 0x10042c88
add eax, 0x10
jmp 0x10042cb5
mov eax, dword [0x100eeeac]
test al, 1
jne 0x10042cb0
or eax, 1
mov dword [0x100eeebc], 0
push 0x100b96a0
mov dword [0x100eeeac], eax
call fcn.100ad789
add esp, 4
mov eax, 0x100eeeb0
push 0
push 0x2710
push dword [eax + 4]
push dword [eax]
call fcn.100ae270
cmp dword [ebp + 0x14], edx
jl 0x1004337f
jg 0x10042cda
cmp dword [ebp + 0x10], eax
jb 0x1004337f
push str.operationId
mov ecx, edi
call fcn.1000a640
test eax, eax
je 0x10042cef
lea edx, [eax + 0x10]
jmp 0x10042d1c
mov eax, dword [0x100eeeac]
test al, 1
jne 0x10042d17
or eax, 1
mov dword [0x100eeebc], 0
push 0x100b96a0
mov dword [0x100eeeac], eax
call fcn.100ad789
add esp, 4
mov edx, 0x100eeeb0
mov edx, dword [edx]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp byte [edx], 0
jne 0x10042d39
xor ecx, ecx
jmp 0x10042d49
mov ecx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10042d40
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10003fc0
mov edx, str.AndroidBack
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10042d76
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
jmp 0x10043369
mov edx, str.AndroidHome
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10042d93
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x10043369
mov edx, str.AndroidAppSwitch
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10042db0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
jmp 0x10043369
mov edx, str.AndroidMenu
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10042dcd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
jmp 0x10043369
mov edx, str.PrintScreen
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10042dea
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
jmp 0x10043369
mov edx, str.AndroidVolume
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10042e21
push 0x100bd940
mov ecx, edi
call fcn.10009db0
mov edx, dword [ebx]
mov ecx, ebx
cmp dword [eax + 0xc], 0x102
sete al
movzx eax, al
push eax
call dword [edx + 0x14]
jmp 0x10043369
mov edx, str.StartApp
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10042e56
push 0x100be718
mov ecx, edi
call fcn.10009db0
sub esp, 0x18
mov ecx, esp
push dword [eax]
call fcn.10003df0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
jmp 0x10043369
mov edx, str.StopApp
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10042e8b
push 0x100be718
mov ecx, edi
call fcn.10009db0
sub esp, 0x18
mov ecx, esp
push dword [eax]
call fcn.10003df0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
jmp 0x10043369
mov edx, str.OpenAndroidUri
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10042ec0
push 0x100bb1c8
mov ecx, edi
call fcn.10009db0
sub esp, 0x18
mov edx, eax
mov ecx, esp
call fcn.10006ef0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
jmp 0x10043369
mov edx, str.RockPhone
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10042edd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
jmp 0x10043369
mov edx, str.SetLocation
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10042f32
mov esi, dword [ebx]
mov ecx, edi
push 0
push str.latitude
call fcn.10009db0
mov ecx, eax
call fcn.100497f0
sub esp, 8
mov ecx, edi
movsd qword [esp], xmm0
push str.longitude
call fcn.10009db0
mov ecx, eax
call fcn.100497f0
sub esp, 8
mov ecx, ebx
movsd qword [esp], xmm0
call dword [esi + 0x28]
jmp 0x10043369
mov edx, str.PutScancode
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10042f77
push str.down
mov ecx, edi
call fcn.10009db0
push str.code
mov ecx, edi
cmp dword [eax + 0xc], 0x102
sete byte [ebp - 0x44]
call fcn.10009db0
push dword [ebp - 0x44]
mov edx, dword [ebx]
mov ecx, ebx
push dword [eax]
call dword [edx + 0x2c]
jmp 0x10043369
mov edx, str.PutMultiTouch
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x100431e9
push str.points
mov ecx, edi
call fcn.10009db0
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.10042720
cmp byte [ebp + 8], 0
mov edi, dword [ebp - 0x54]
je 0x10042ff4
mov eax, dword [ebp - 0x58]
cmp eax, edi
je 0x10043135
mov ebx, eax
mov esi, 0x64
add ebx, 8
call dword [sym.imp.MSVCR120.dll_rand]
cdq
idiv esi
lea esi, [edx - 0x32]
call dword [sym.imp.MSVCR120.dll_rand]
cdq
lea ebx, [ebx + 0x10]
mov ecx, 0x64
add dword [ebx - 0x14], esi
idiv ecx
lea eax, [ebx - 8]
mov esi, ecx
sub edx, 0x32
add dword [ebx - 0x10], edx
cmp eax, edi
jne 0x10042fc0
jmp 0x1004312f
cmp byte [ebp + 0xc], 0
je 0x10043132
cmp byte [0x100f0840], 0
jne 0x1004304b
push 0
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
push eax
call dword [sym.imp.MSVCR120.dll_srand]
add esp, 4
push 0x10000
push 0xffffffffffffff81
push 0x100f3130
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x10000
push 0xffffffffffffff81
push 0x10103130
call sub.MSVCR120.dll_memset
add esp, 0xc
mov byte [0x100f0840], 1
mov esi, dword [ebp - 0x58]
mov eax, esi
cmp eax, edi
je 0x10043135
mov ebx, 0x1e
lea ecx, [ecx]
mov eax, dword [esi]
test eax, eax
js 0x10043124
cmp eax, 0x10000
jae 0x10043124
cmp byte [eax + 0x100f3130], 0x81
jne 0x100430b0
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x78
idiv ecx
mov eax, dword [esi]
sub dl, 0x3c
mov byte [eax + 0x100f3130], dl
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x78
idiv ecx
mov eax, dword [esi]
sub dl, 0x3c
mov byte [eax + 0x10103130], dl
mov eax, dword [esi]
movsx ecx, byte [eax + 0x100f3130]
movsx eax, byte [eax + 0x10103130]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 5
idiv ecx
test edx, edx
jne 0x10043100
call dword [sym.imp.MSVCR120.dll_rand]
cdq
idiv ebx
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff1
add eax, edx
mov dword [ebp - 0x4c], eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
idiv ebx
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff1
add eax, edx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
add dword [esi + 4], eax
mov eax, dword [ebp - 0x48]
add dword [esi + 8], eax
cmp dword [esi + 0xc], 0
jne 0x10043124
mov eax, dword [esi]
mov byte [eax + 0x100f3130], 0x81
mov eax, dword [esi]
mov byte [eax + 0x10103130], 0x81
add esi, 0x10
cmp esi, edi
jne 0x10043060
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
sub edi, eax
mov byte [ebp - 4], 2
sar edi, 4
lea ecx, [ebp - 0x34]
push edi
call fcn.10025880
test edi, edi
je 0x100431c9
mov esi, dword [ebp - 0x58]
xor edx, edx
movsd xmm1, qword [0x100d1150]
add esi, 4
movsd xmm2, qword [0x100d1148]
jmp 0x10043180
mov eax, dword [ebp - 0x34]
lea esi, [esi + 0x10]
mov ecx, dword [esi - 0x14]
lea edx, [edx + 0x20]
mov dword [edx + eax - 0x20], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [esi - 8]
mov dword [edx + eax - 8], ecx
movd xmm0, dword [esi - 0x10]
mov eax, dword [ebp - 0x34]
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [edx + eax - 0x18], xmm0
movd xmm0, dword [esi - 0xc]
mov eax, dword [ebp - 0x34]
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [edx + eax - 0x10], xmm0
dec edi
jne 0x10043180
mov eax, dword [ebx]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
lea ecx, [ebp - 0x34]
call fcn.100116f0
lea ecx, [ebp - 0x58]
call fcn.100116f0
jmp 0x10043369
mov edx, str.PushWheel
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10043260
push 0x100bb194
mov ecx, edi
call fcn.10009db0
mov ecx, dword [ebp - 0x48]
push 0x100bb198
mov edi, dword [eax]
call fcn.10009db0
mov ecx, dword [ebp - 0x48]
push str.delta
mov esi, dword [eax]
call fcn.10009db0
movd xmm0, esi
mov ecx, ebx
cvtdq2pd xmm0, xmm0
mov edx, dword [ebx]
push dword [eax]
divsd xmm0, qword [0x100d1148]
sub esp, 0x10
movsd qword [esp + 8], xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x100d1150]
movsd qword [esp], xmm0
call dword [edx + 0x34]
jmp 0x10043369
mov edx, str.ImeComposing
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x100432a0
push 0x100bb19c
mov ecx, edi
call fcn.10009db0
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.10006ef0
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebx]
push eax
call dword [edx + 0x40]
lea ecx, [ebp - 0x40]
call fcn.10005870
jmp 0x10043369
mov edx, str.ImeCommit
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x100432e0
push 0x100bb19c
mov ecx, edi
call fcn.10009db0
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.10006ef0
mov byte [ebp - 4], 4
mov ecx, ebx
mov edx, dword [ebx]
push eax
call dword [edx + 0x44]
lea ecx, [ebp - 0x40]
call fcn.10005870
jmp 0x10043369
mov edx, str.ImeClipboard
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x1004331d
push 0x100bb19c
mov ecx, edi
call fcn.10009db0
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.10006ef0
mov byte [ebp - 4], 5
mov ecx, ebx
mov edx, dword [ebx]
push eax
call dword [edx + 0x48]
lea ecx, [ebp - 0x40]
call fcn.10005870
jmp 0x10043369
mov edx, str.ImeCommitClipboard
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10043337
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x4c]
jmp 0x10043369
mov edx, str.ImeEnterAction
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10043351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x50]
jmp 0x10043369
mov edx, str.ImeTabAction
lea ecx, [ebp - 0x28]
call fcn.10012400
test al, al
je 0x10043369
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
cmp dword [ebp - 0x14], 0x10
jb 0x1004337b
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x10043381
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ad688
mov esp, ebp
pop ebp
ret