Function at 0x10041910
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b07f0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov dword [ebp - 0x4c], edi
push str.timing
call fcn.10009c40
test eax, eax
je 0x10041958
add eax, 0x10
jmp 0x10041985
mov eax, dword [0x100eb10c]
test al, 1
jne 0x10041980
or eax, 1
mov dword [0x100eb11c], 0
push 0x100b7810
mov dword [0x100eb10c], eax
call fcn.100aba75
add esp, 4
mov eax, 0x100eb110
push 0
push 0x2710
push dword [eax + 4]
push dword [eax]
call fcn.100ac560
cmp dword [ebp + 0x10], edx
jl 0x1004203f
jg 0x100419aa
cmp dword [ebp + 0xc], eax
jb 0x1004203f
push str.operationId
mov ecx, edi
call fcn.10009c40
test eax, eax
je 0x100419bf
lea edx, [eax + 0x10]
jmp 0x100419ec
mov eax, dword [0x100eb10c]
test al, 1
jne 0x100419e7
or eax, 1
mov dword [0x100eb11c], 0
push 0x100b7810
mov dword [0x100eb10c], eax
call fcn.100aba75
add esp, 4
mov edx, 0x100eb110
mov edx, dword [edx]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp byte [edx], 0
jne 0x10041a09
xor ecx, ecx
jmp 0x10041a19
mov ecx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041a10
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10003740
mov edx, str.AndroidBack
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041a46
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
jmp 0x10042029
mov edx, str.AndroidHome
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041a63
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x10042029
mov edx, str.AndroidAppSwitch
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041a80
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
jmp 0x10042029
mov edx, str.AndroidMenu
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041a9d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
jmp 0x10042029
mov edx, str.PrintScreen
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041aba
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
jmp 0x10042029
mov edx, str.AndroidVolume
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041af1
push 0x100bc8d4
mov ecx, edi
call fcn.100093b0
mov edx, dword [ebx]
mov ecx, ebx
cmp dword [eax + 0xc], 0x102
sete al
movzx eax, al
push eax
call dword [edx + 0x14]
jmp 0x10042029
mov edx, str.StartApp
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041b26
push 0x100bd248
mov ecx, edi
call fcn.100093b0
sub esp, 0x18
mov ecx, esp
push dword [eax]
call fcn.100035b0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
jmp 0x10042029
mov edx, str.StopApp
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041b5b
push 0x100bd248
mov ecx, edi
call fcn.100093b0
sub esp, 0x18
mov ecx, esp
push dword [eax]
call fcn.100035b0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
jmp 0x10042029
mov edx, str.OpenAndroidUri
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041b90
push 0x100ba178
mov ecx, edi
call fcn.100093b0
sub esp, 0x18
mov edx, eax
mov ecx, esp
call fcn.10006480
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
jmp 0x10042029
mov edx, str.RockPhone
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041bad
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
jmp 0x10042029
mov edx, str.SetLocation
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041c02
mov esi, dword [ebx]
mov ecx, edi
push 0
push str.latitude
call fcn.100093b0
mov ecx, eax
call fcn.100480a0
sub esp, 8
mov ecx, edi
movsd qword [esp], xmm0
push str.longitude
call fcn.100093b0
mov ecx, eax
call fcn.100480a0
sub esp, 8
mov ecx, ebx
movsd qword [esp], xmm0
call dword [esi + 0x28]
jmp 0x10042029
mov edx, str.PutScancode
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041c47
push str.down
mov ecx, edi
call fcn.100093b0
push str.code
mov ecx, edi
cmp dword [eax + 0xc], 0x102
sete byte [ebp - 0x48]
call fcn.100093b0
push dword [ebp - 0x48]
mov edx, dword [ebx]
mov ecx, ebx
push dword [eax]
call dword [edx + 0x2c]
jmp 0x10042029
mov edx, str.PutMultiTouch
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041ea9
push str.points
mov ecx, edi
call fcn.100093b0
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.100413f0
cmp byte [ebp + 8], 0
je 0x10041cc4
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
cmp eax, edi
je 0x10041dfb
lea ebx, [eax + 8]
mov esi, 0x64
mov edi, edi
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 0x10041c90
jmp 0x10041df5
cmp byte [0x100ec5b0], 0
jne 0x10041d11
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 0x100feea0
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x10000
push 0xffffffffffffff81
push 0x100eee90
call sub.MSVCR120.dll_memset
add esp, 0xc
mov byte [0x100ec5b0], 1
mov eax, dword [ebp - 0x38]
mov esi, eax
mov edi, dword [ebp - 0x34]
cmp eax, edi
je 0x10041dfb
mov ebx, 0x1e
mov eax, dword [esi]
test eax, eax
js 0x10041dea
cmp eax, 0x10000
jae 0x10041dea
cmp byte [eax + 0x100feea0], 0x81
jne 0x10041d76
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x78
idiv ecx
mov eax, dword [esi]
sub dl, 0x3c
mov byte [eax + 0x100feea0], dl
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x78
idiv ecx
mov eax, dword [esi]
sub dl, 0x3c
mov byte [eax + 0x100eee90], dl
mov eax, dword [esi]
movsx ecx, byte [eax + 0x100feea0]
movsx eax, byte [eax + 0x100eee90]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 5
idiv ecx
test edx, edx
jne 0x10041dc6
call dword [sym.imp.MSVCR120.dll_rand]
cdq
idiv ebx
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff1
add eax, edx
mov dword [ebp - 0x50], eax
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
mov eax, dword [ebp - 0x50]
add dword [esi + 4], eax
mov eax, dword [ebp - 0x4c]
add dword [esi + 8], eax
cmp dword [esi + 0xc], 0
jne 0x10041dea
mov eax, dword [esi]
mov byte [eax + 0x100feea0], 0x81
mov eax, dword [esi]
mov byte [eax + 0x100eee90], 0x81
add esi, 0x10
cmp esi, edi
jne 0x10041d26
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
sub edi, eax
mov byte [ebp - 4], 2
sar edi, 4
lea ecx, [ebp - 0x5c]
push edi
call fcn.10024b10
test edi, edi
je 0x10041e89
mov esi, dword [ebp - 0x38]
xor edx, edx
movsd xmm1, qword [0x100ce360]
add esi, 4
movsd xmm2, qword [0x100ce358]
mov edi, edi
mov eax, dword [ebp - 0x5c]
lea esi, [esi + 0x10]
mov ecx, dword [esi - 0x14]
lea edx, [edx + 0x20]
mov dword [edx + eax - 0x20], ecx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [esi - 8]
mov dword [edx + eax - 8], ecx
movd xmm0, dword [esi - 0x10]
mov eax, dword [ebp - 0x5c]
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [edx + eax - 0x18], xmm0
movd xmm0, dword [esi - 0xc]
mov eax, dword [ebp - 0x5c]
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [edx + eax - 0x10], xmm0
dec edi
jne 0x10041e40
mov eax, dword [ebx]
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
lea ecx, [ebp - 0x5c]
call fcn.10010cf0
lea ecx, [ebp - 0x38]
call fcn.10010cf0
jmp 0x10042029
mov edx, str.PushWheel
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041f20
push 0x100ba144
mov ecx, edi
call fcn.100093b0
mov ecx, dword [ebp - 0x4c]
push 0x100ba148
mov edi, dword [eax]
call fcn.100093b0
mov ecx, dword [ebp - 0x4c]
push str.delta
mov esi, dword [eax]
call fcn.100093b0
movd xmm0, esi
mov ecx, ebx
cvtdq2pd xmm0, xmm0
mov edx, dword [ebx]
push dword [eax]
divsd xmm0, qword [0x100ce358]
sub esp, 0x10
movsd qword [esp + 8], xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x100ce360]
movsd qword [esp], xmm0
call dword [edx + 0x34]
jmp 0x10042029
mov edx, str.ImeComposing
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041f60
push 0x100ba14c
mov ecx, edi
call fcn.100093b0
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.10006480
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebx]
push eax
call dword [edx + 0x40]
lea ecx, [ebp - 0x44]
call fcn.10004eb0
jmp 0x10042029
mov edx, str.ImeCommit
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041fa0
push 0x100ba14c
mov ecx, edi
call fcn.100093b0
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.10006480
mov byte [ebp - 4], 4
mov ecx, ebx
mov edx, dword [ebx]
push eax
call dword [edx + 0x44]
lea ecx, [ebp - 0x44]
call fcn.10004eb0
jmp 0x10042029
mov edx, str.ImeClipboard
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041fdd
push 0x100ba14c
mov ecx, edi
call fcn.100093b0
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.10006480
mov byte [ebp - 4], 5
mov ecx, ebx
mov edx, dword [ebx]
push eax
call dword [edx + 0x48]
lea ecx, [ebp - 0x44]
call fcn.10004eb0
jmp 0x10042029
mov edx, str.ImeCommitClipboard
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10041ff7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x4c]
jmp 0x10042029
mov edx, str.ImeEnterAction
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10042011
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x50]
jmp 0x10042029
mov edx, str.ImeTabAction
lea ecx, [ebp - 0x2c]
call fcn.10011a60
test al, al
je 0x10042029
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
cmp dword [ebp - 0x18], 0x10
jb 0x1004203b
push dword [ebp - 0x2c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x10042041
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 - 0x14]
xor ecx, ebp
call fcn.100ab974
mov esp, ebp
pop ebp
ret